# Not able to push dataset/model with write token

**URL:** <https://discuss.huggingface.co/t/not-able-to-push-dataset-model-with-write-token/82645>\
**Category:** 🤗Datasets\
**Created:** [April 19, 2024, 1:19pm UTC](https://discuss.huggingface.co/t/not-able-to-push-dataset-model-with-write-token/82645 "2024-04-19T13:19:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sumandas](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/sumandas/32/26001_2.png) [@sumandas](https://discuss.huggingface.co/u/sumandas)\
**Post date:** [April 19, 2024, 1:19pm UTC](https://discuss.huggingface.co/t/not-able-to-push-dataset-model-with-write-token/82645/1 "2024-04-19T13:19:26Z")

</div>

![image](https://us1.discourse-cdn.com/hellohellohello/original/3X/0/2/0246cf0b0f8766e7ac73793c68ae7423170285f6.png)  
I’ve write permission to the access token but no way I am not able to push the dataset,

```auto
The above exception was the direct cause of the following exception:

HfHubHTTPError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_errors.py in hf_raise_for_status(response, endpoint_name)
    365 + "make sure you have a token with the `write` role."
    366 )
--> 367 raise HfHubHTTPError(message, response=response) from e
    368 
    369 # Convert `HTTPError` into a `HfHubHTTPError` to display request information

HfHubHTTPError: (Request ID: Root=1-66226ec8-1286b1bd29b6ddc07f8d3d8f;aa411d40-8031-4fc2-b698-44523b0d4e9e)

403 Forbidden: Forbidden: you must use a write token to upload to a repository..

```

Getting forbidden error, I am facing this everywhere.

---

<div class="post-metadata">

**Author:** ![zaibutcooler](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/zaibutcooler/32/52547_2.png) [@zaibutcooler](https://discuss.huggingface.co/u/zaibutcooler)\
**Post date:** [April 30, 2024, 7:48pm UTC](https://discuss.huggingface.co/t/not-able-to-push-dataset-model-with-write-token/82645/2 "2024-04-30T19:48:41Z")

</div>

Got the same error as well. It works (can push at first try) on my test account but it didn’t work on my main account. Hope anyone can solve this.
