# Unable to access public model - status 401

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Funable-to-access-public-model-status-401%2F144806%3E%5C
**Category:** Models\
**Created:** [March 8, 2025, 9:09pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Funable-to-access-public-model-status-401%2F144806 "2025-03-08T21:09:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [March 9, 2025, 5:06am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Funable-to-access-public-model-status-401%2F144806%2F2 "2025-03-09T05:06:17Z")

</div>

If you are getting a 401 error even though the token is correct, it is usually because of a network setting such as SSL, or because a different token that has been cached is being used somewhere.

If it is a completely server error, I think it is more likely that a non-401 error will be displayed.

> [@Error 401 Client Error: Unauthorized for url](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-401-client-error-unauthorized-for-url%2F19714)%3A
>
> When using model card of my private speech recognition model with LM, I got this error: 401 Client Error: Unauthorized for url: [https://huggingface.co/api/models/taliai/tali-asr-with-lm/revision/main](https://huggingface.co/api/models/taliai/tali-asr-with-lm/revision/main) while the same model without lm works fine. Is there anything wrong on my model or model card or … Any help is appreciated.

> [@Assistance with 401 Unauthorized Error for API Access](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fassistance-with-401-unauthorized-error-for-api-access%2F128643)%3A
>
> I am currently encountering an issue while attempting to use the Hugging Face Inference API with access tokens. Despite following all documentation and testing multiple configurations, I am consistently receiving a 401 Unauthorized error when calling the /models endpoint. Here is a summary of the steps I have taken to troubleshoot this issue: I generated both read-only and fine-grained tokens from my account settings. I ensured the tokens include permissions for: Making calls to the serverl…

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Funable-to-access-public-model-status-401%2F144806)._
