Can't push to a dataset repository
Hi there,I have a dataset repository under an organization where I am the admin. I cloned the repository to a Linux machine, prepared the dataset, and committed it and the dataset load script (with git LFS) to the local repository.When pushing the changes back to hugging face I get an authorization error. I tried logging in again, making sure that the commits have the same username and email that my hugging face account is and that the token is set in the git credentials file. To no avail.Any ideas?$ git push
batch response: Authorization error. B | 0 B/s
Uploading LFS objects:   0% (0/16), 0 B | 0 B/s, done.
error: failed to push some refs to 'https://huggingface.co/datasets/myorg/mydataset
2023-04-14T19:17:00Z
hi@tomersagi,The error message says Authorization error please tryI got Authorization error🤗Datasetsfor all in the thread, we now have support for SSH keys, so many of the authentication problems could be overcome via SSH authentication.[image]
2023-04-14T19:29:57Z
That solved it! Thanks! I recloned using ssh and had no more  problems from there.
2024-01-15T09:57:29Z
Thanks very much! It works!!!
2024-03-18T21:10:37Z
Regarding MacOS users: If you initially signed on the cli with a READ token. Then had issues pushing, read the forums, figured out you need a WRITE token, went and created a new WRITE token, logged in, and it failed.That won’t work. The READ keystays in the keychain. Open keychain, search for ‘hugging’ delete and then sign on again with the WRITE token. Then, it should work.