# requests.exceptions.HTTPError: 401 Client Error:

**URL:** <https://discuss.huggingface.co/t/requests-exceptions-httperror-401-client-error/39225>\
**Category:** 🤗Transformers\
**Created:** [May 9, 2023, 9:55am UTC](https://discuss.huggingface.co/t/requests-exceptions-httperror-401-client-error/39225 "2023-05-09T09:55:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wanjeakshay](https://avatars.discourse-cdn.com/v4/letter/w/ee59a6/32.png) [@Wanjeakshay](https://discuss.huggingface.co/u/Wanjeakshay)\
**Post date:** [May 9, 2023, 9:55am UTC](https://discuss.huggingface.co/t/requests-exceptions-httperror-401-client-error/39225/1 "2023-05-09T09:55:17Z")

</div>

when i try to run model = SBertSummarizer(‘paraphrase-MiniLM-L6-v2’), suddenly i am getting following error.

File “/home/Desktop/akshay//env/lib/python3.8/site-packages/requests/models.py”, line 953, in raise\_for\_status  
raise HTTPError(http\_error\_msg, response=self)  
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: [https://huggingface.co/api/models/sentence-transformers/paraphrase-MiniLM-L6-v2](https://huggingface.co/api/models/sentence-transformers/paraphrase-MiniLM-L6-v2)

---

<div class="post-metadata">

**Author:** ![julien-c](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/julien-c/32/41937_2.png) [@julien-c](https://discuss.huggingface.co/u/julien-c)\
**Post date:** [May 10, 2023, 10:08am UTC](https://discuss.huggingface.co/t/requests-exceptions-httperror-401-client-error/39225/2 "2023-05-10T10:08:27Z")

</div>

we had some intermittent difficulties yesterday, should be fixed now
