# Error 403! What to do about it?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-403-what-to-do-about-it%2F12983%3E%5C
**Category:** Beginners\
**Created:** [December 20, 2021, 1:26pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-403-what-to-do-about-it%2F12983 "2021-12-20T13:26:27Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndrewChar](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@AndrewChar](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FAndrewChar)%5C
**Post date:** [December 20, 2021, 1:26pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-403-what-to-do-about-it%2F12983%2F1 "2021-12-20T13:26:27Z")

</div>

I can not save the model, it gives HTTPError: 403 Client Error: Forbidden for url: [https://huggingface.co/api/repos/create](https://huggingface.co/api/repos/create) - You don’t have the rights to create a model under this namespace how to fix?

---

<div class="post-metadata">

**Author:** ![BramVanroy](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/bramvanroy/32/47360_2.png) [@BramVanroy](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FBramVanroy)%5C
**Post date:** [December 20, 2021, 1:47pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-403-what-to-do-about-it%2F12983%2F2 "2021-12-20T13:47:56Z")

</div>

This is an English-focused forum. Please translate your message - or use a translation engine.

---

<div class="post-metadata">

**Author:** ![milyiyo](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/milyiyo/32/59140_2.png) [@milyiyo](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmilyiyo)%5C
**Post date:** [January 15, 2022, 11:45pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-403-what-to-do-about-it%2F12983%2F3 "2022-01-15T23:45:57Z")

</div>

Hi @AndrewChar

I was having the same error, and in my case the problem was that I was using a token with `read` role.

When I change it to one with `write` role, it worked for me.

I hope this can help you 🙂

---

<div class="post-metadata">

**Author:** ![akadriu](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@akadriu](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fakadriu)%5C
**Post date:** [January 31, 2022, 9:37pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-403-what-to-do-about-it%2F12983%2F4 "2022-01-31T21:37:56Z")

</div>

> [@milyiyo](#):
>
> write

This helped me too

---

<div class="post-metadata">

**Author:** ![Ghost1](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/ghost1/32/4584_2.png) [@Ghost1](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FGhost1)%5C
**Post date:** [April 25, 2022, 12:44am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-403-what-to-do-about-it%2F12983%2F5 "2022-04-25T00:44:50Z")

</div>

Thanks Boss. Changing to write helped me

---

<div class="post-metadata">

**Author:** ![krunker](https://avatars.discourse-cdn.com/v4/letter/k/57b2e6/32.png) [@krunker](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fkrunker)%5C
**Post date:** [April 26, 2022, 6:58am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-403-what-to-do-about-it%2F12983%2F6 "2022-04-26T06:58:34Z")

</div>

> I was having the same error, and in my case the problem was that I was using a token with `read` role.  
> When I change [krunker](https://krunkerio.io) to one with `write` role, it worked for me.  
> I hope this can help you 🙂

It helped me a lot. Thanks.

---

<div class="post-metadata">

**Author:** ![Abdelrahman-Rezk](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/abdelrahman-rezk/32/4689_2.png) [@Abdelrahman-Rezk](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FAbdelrahman-Rezk)%5C
**Post date:** [May 9, 2022, 6:47am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-403-what-to-do-about-it%2F12983%2F7 "2022-05-09T06:47:03Z")

</div>

Thanks @milyiyo

---

<div class="post-metadata">

**Author:** ![Ranit](https://avatars.discourse-cdn.com/v4/letter/r/ee7513/32.png) [@Ranit](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FRanit)%5C
**Post date:** [May 13, 2022, 12:05pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-403-what-to-do-about-it%2F12983%2F8 "2022-05-13T12:05:57Z")

</div>

How to change it?

---

<div class="post-metadata">

**Author:** ![milyiyo](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/milyiyo/32/59140_2.png) [@milyiyo](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmilyiyo)%5C
**Post date:** [May 13, 2022, 2:24pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-403-what-to-do-about-it%2F12983%2F9 "2022-05-13T14:24:52Z")

</div>

Hi Ranit,

In the tokens’ section of the settings ([Hugging Face – The AI community building the future.](https://huggingface.co/settings/tokens)), you can create a new token specifying the role _write_.

![image](https://us1.discourse-cdn.com/hellohellohello/original/2X/c/c9233743c8aee815626b65c2d0d4a03f340a5971.png)

Then you can use that one when you try to login:

`huggingface-cli login`

I hope this can help you 🙂

---

<div class="post-metadata">

**Author:** ![Ranit](https://avatars.discourse-cdn.com/v4/letter/r/ee7513/32.png) [@Ranit](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FRanit)%5C
**Post date:** [May 13, 2022, 7:48pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-403-what-to-do-about-it%2F12983%2F10 "2022-05-13T19:48:40Z")

</div>

Thank you so much!

---

<div class="post-metadata">

**Author:** ![averof](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@averof](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Faverof)%5C
**Post date:** [September 26, 2022, 12:11am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-403-what-to-do-about-it%2F12983%2F11 "2022-09-26T00:11:34Z")

</div>

I have this problem with a write token.

---

<div class="post-metadata">

**Author:** ![benflight](https://avatars.discourse-cdn.com/v4/letter/b/f1d935/32.png) [@benflight](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fbenflight)%5C
**Post date:** [October 20, 2022, 1:11am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-403-what-to-do-about-it%2F12983%2F12 "2022-10-20T01:11:35Z")

</div>

also have this problem with a write token

---

<div class="post-metadata">

**Author:** ![sizhkhy](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/sizhkhy/32/22146_2.png) [@sizhkhy](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fsizhkhy)%5C
**Post date:** [October 20, 2022, 11:48am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-403-what-to-do-about-it%2F12983%2F13 "2022-10-20T11:48:28Z")

</div>

If you have come from fastai c22p2 and are trying to access `"CompVis/stable-diffusion-v1-4"`, you need to go the relevant webpage in huggingface and accept the license first.

---

<div class="post-metadata">

**Author:** ![Yassershrief](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/yassershrief/32/12873_2.png) [@Yassershrief](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FYassershrief)%5C
**Post date:** [December 11, 2022, 9:15am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-403-what-to-do-about-it%2F12983%2F14 "2022-12-11T09:15:04Z")

</div>

Thank you its solved

---

<div class="post-metadata">

**Author:** ![MukeshYadav](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@MukeshYadav](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FMukeshYadav)%5C
**Post date:** [December 17, 2022, 5:53am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-403-what-to-do-about-it%2F12983%2F15 "2022-12-17T05:53:25Z")

</div>

Thank you a lot. It helped

---

<div class="post-metadata">

**Author:** ![kevinkwshin](https://avatars.discourse-cdn.com/v4/letter/k/a6a055/32.png) [@kevinkwshin](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fkevinkwshin)%5C
**Post date:** [January 16, 2023, 8:17am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-403-what-to-do-about-it%2F12983%2F16 "2023-01-16T08:17:10Z")

</div>

I had the same issue; changing roles to “write” solved the problem.  
Thank you.

---

<div class="post-metadata">

**Author:** ![zirui3](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/zirui3/32/32893_2.png) [@zirui3](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fzirui3)%5C
**Post date:** [January 30, 2023, 7:40am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-403-what-to-do-about-it%2F12983%2F17 "2023-01-30T07:40:33Z")

</div>

thank you so much!

---

<div class="post-metadata">

**Author:** ![Shreevarshan91](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@Shreevarshan91](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FShreevarshan91)%5C
**Post date:** [March 16, 2023, 11:27am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-403-what-to-do-about-it%2F12983%2F18 "2023-03-16T11:27:35Z")

</div>

Thanks a lot brother

---

<div class="post-metadata">

**Author:** ![Hederson](https://avatars.discourse-cdn.com/v4/letter/h/76d3ee/32.png) [@Hederson](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FHederson)%5C
**Post date:** [April 28, 2023, 8:20pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-403-what-to-do-about-it%2F12983%2F19 "2023-04-28T20:20:46Z")

</div>

It was as show!!! Thank you!

---

<div class="post-metadata">

**Author:** ![Samalabama66](https://avatars.discourse-cdn.com/v4/letter/s/ecd19e/32.png) [@Samalabama66](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FSamalabama66)%5C
**Post date:** [July 23, 2023, 5:39am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-403-what-to-do-about-it%2F12983%2F20 "2023-07-23T05:39:31Z")

</div>

![Screenshot 2023-07-23 at 13.37.32](https://us1.discourse-cdn.com/hellohellohello/original/3X/2/2/22240a016856cd53af08994268e4c89b65b9489e.png)

But I still get an error

[Next page](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-403-what-to-do-about-it%2F12983.md%3Fpage%3D2)
