Authorization error
COLLABORATOR
Hi! 

It's better to report this kind of issue in the `huggingface_hub` repo, so if you still haven't resolved it, I suggest you open an issue there.
2023-03-14T15:52:38Z
https://github.com/huggingface/datasets/issues/5601#issuecomment-1468365897
https://api.github.com/repos/huggingface/datasets/issues/5601
IC_kwDODunzps5XhXxJ
https://api.github.com/repos/huggingface/datasets/issues/comments/1468365897/reactions
2023-03-14T15:52:38Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1468365897
https://avatars.githubusercontent.com/u/47462742?v=4
https://api.github.com/users/mariosasko/events{/privacy}
https://api.github.com/users/mariosasko/followers
https://api.github.com/users/mariosasko/following{/other_user}
https://api.github.com/users/mariosasko/gists{/gist_id}
https://github.com/mariosasko
mariosasko
MDQ6VXNlcjQ3NDYyNzQy
https://api.github.com/users/mariosasko/orgs
https://api.github.com/users/mariosasko/received_events
https://api.github.com/users/mariosasko/repos
https://api.github.com/users/mariosasko/starred{/owner}{/repo}
https://api.github.com/users/mariosasko/subscriptions
User
https://api.github.com/users/mariosasko
public
NONE
Yeah,  I solved it. Problem was in osxkeychain.  When I do `hugginface-cli login` it's add token with default account (username)`hg_user` but my repo contain other username.  When I changed username in keychain -  it works now.
2023-03-14T16:55:34Z
https://github.com/huggingface/datasets/issues/5601#issuecomment-1468473839
https://api.github.com/repos/huggingface/datasets/issues/5601
IC_kwDODunzps5XhyHv
https://api.github.com/repos/huggingface/datasets/issues/comments/1468473839/reactions
2023-03-14T16:55:34Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1468473839
https://avatars.githubusercontent.com/u/107404835?v=4
https://api.github.com/users/OleksandrKorovii/events{/privacy}
https://api.github.com/users/OleksandrKorovii/followers
https://api.github.com/users/OleksandrKorovii/following{/other_user}
https://api.github.com/users/OleksandrKorovii/gists{/gist_id}
https://github.com/OleksandrKorovii
OleksandrKorovii
U_kgDOBmbeIw
https://api.github.com/users/OleksandrKorovii/orgs
https://api.github.com/users/OleksandrKorovii/received_events
https://api.github.com/users/OleksandrKorovii/repos
https://api.github.com/users/OleksandrKorovii/starred{/owner}{/repo}
https://api.github.com/users/OleksandrKorovii/subscriptions
User
https://api.github.com/users/OleksandrKorovii
public
### Describe the bug

Get `Authorization error` when try to push data into hugginface datasets hub.

### Steps to reproduce the bug

I did all steps in the [tutorial](https://huggingface.co/docs/datasets/share), 

1. `huggingface-cli login` with WRITE token
2. `git lfs install`
3. `git clone https://huggingface.co/datasets/namespace/your_dataset_name`
4.
  ```
  cp /somewhere/data/*.json .
  git lfs track *.json
  git add .gitattributes
  git add *.json
  git commit -m "add json files"
  ```

but when I execute `git push` I got the error:

```
Uploading LFS objects:   0% (0/1), 0 B | 0 B/s, done.
batch response: Authorization error.
error: failed to push some refs to 'https://huggingface.co/datasets/zeusfsx/ukrainian-news'
```

Size of data ~100Gb.  I have five json files - different parts.

### Expected behavior

All my data pushed into hub

### Environment info

- `datasets` version: 2.10.1
- Platform: macOS-13.2.1-arm64-arm-64bit
- Python version: 3.10.10
- PyArrow version: 11.0.0
- Pandas version: 1.5.3