Invalid user token when attempting to login

I tried huggingface_hub.login and got Invalid user token exception. But I went to the tokens setting to find it normal. This is a write token. It was last refreshed in October.

What went wrong here?

1 Like

You can create as many tokens as you like, so why not try making some new ones?

Also, today is a day when the token specifications change a lot, so they may work or they may not.:sweat_smile:
website@huggingface.co

Thanks John. Refreshing works. But there has been no warning of any sort so it’s quite confusing. You can imagine how many workflows were disrupted

1 Like

I really wish there were fewer problems with account and token authentication… I run into them from time to time too.

Tokens are a good system because they’re safer than passwords if they get leaked, but I often wish there were more specific announcements and FAQs about their operation.

Something like “If you have a problem like this, do this!” or “There will be construction work on token authentication this week, so please be careful as there may be problems!” would be good…:downcast_face_with_sweat: