Error 403! What to do about it?

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

1 Like

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

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 :slight_smile:

50 Likes

This helped me too

1 Like

Thanks Boss. Changing to write helped me

1 Like

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 to one with write role, it worked for me.
I hope this can help you :slight_smile:

It helped me a lot. Thanks.

2 Likes

Thanks @milyiyo

1 Like

How to change it?

1 Like

Hi Ranit,

In the tokens’ section of the settings (Hugging Face – The AI community building the future.), you can create a new token specifying the role write.

image

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

huggingface-cli login

I hope this can help you :slight_smile:

10 Likes

Thank you so much!

I have this problem with a write token.

2 Likes

also have this problem with a write token

1 Like

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.

1 Like

Thank you its solved

1 Like

Thank you a lot. It helped

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

thank you so much!

Thanks a lot brother

It was as show!!! Thank you!

But I still get an error

2 Likes