# 401 Client Error

**URL:** <https://discuss.huggingface.co/t/401-client-error/143408>\
**Category:** Beginners\
**Created:** [February 28, 2025, 12:40pm UTC](https://discuss.huggingface.co/t/401-client-error/143408 "2025-02-28T12:40:16Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](https://discuss.huggingface.co/u/John6666)\
**Post date:** [April 14, 2025, 7:53am UTC](https://discuss.huggingface.co/t/401-client-error/143408/5 "2025-04-14T07:53:31Z")

</div>

There are too many possible causes of 401 errors, so it’s difficult to fix them, but it seems that in many cases, using **login()** will fix the problem.

> [@Error 401 Client Error: Unauthorized for url](https://discuss.huggingface.co/t/error-401-client-error-unauthorized-for-url/19714):
>
> 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.

---

_[View the full topic](https://discuss.huggingface.co/t/401-client-error/143408)._
