Invalid token or no access to Hugging Face

Hello!
The problem is: I’ve generated several tokens, but no one of them works=(
Errors are: API: Authorization header is correct, but the token seems invalid
Invalid token or no access to Hugging Face
I tried write-token, read-token, token with all permissions.
What am I doing wrong?

1 Like

That’s a rare case. It’s not common for only the token to be wrong.
Perhaps you’re trying to access the gated model but haven’t obtained permission for the individual gated model?
Or maybe.