Persistent 401 Unauthorized Error on Gated Models

If the problem is account-specific, I think it would be quicker to contact Hugging Face support. website@huggingface.co
Another case that occasionally occurs is that extra information is added when copying and pasting tokens. This is more likely to happen when using shortcut keys.
In addition, there are many conditions that cause a 401 error.

1 Like