Assistance with 401 Unauthorized Error for API Access

Hi John,

I don’t know if this is possible, but would you be able to run this command in your environment and see if you still get the same error?

Not sure if I can ask this, if not, not to worry. I’ll try something else :slight_smile:

curl -v -H “Authorization: Bearer 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” -H “Connection: close” https://api-inference.huggingface.co/models

Thank you!

1 Like