# requests.exceptions.HTTPError: 429 Client Error: Too Many Requests

**URL:** <https://discuss.huggingface.co/t/requests-exceptions-httperror-429-client-error-too-many-requests/126019>\
**Category:** 🤗Hub\
**Created:** [November 19, 2024, 4:22pm UTC](https://discuss.huggingface.co/t/requests-exceptions-httperror-429-client-error-too-many-requests/126019 "2024-11-19T16:22:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![xguihugging](https://avatars.discourse-cdn.com/v4/letter/x/e8c25b/32.png) [@xguihugging](https://discuss.huggingface.co/u/xguihugging)\
**Post date:** [November 19, 2024, 4:22pm UTC](https://discuss.huggingface.co/t/requests-exceptions-httperror-429-client-error-too-many-requests/126019/1 "2024-11-19T16:22:14Z")

</div>

Hi team. From yesterday, we have been seeing 429 errors when trying to access different models.

One example:  
File “/usr/local/lib/python3.8/site-packages/requests/models.py”, line 1024, in raise\_for\_status  
raise HTTPError(http\_error\_msg, response=self)  
requests.exceptions.HTTPError: 429 Client Error: Too Many Requests for url: [https://huggingface.co/meta-llama/Meta-Llama-](https://huggingface.co/meta-llama/Meta-Llama-)  
3-8B/resolve/main/config.json

---

<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:** [November 19, 2024, 4:48pm UTC](https://discuss.huggingface.co/t/requests-exceptions-httperror-429-client-error-too-many-requests/126019/2 "2024-11-19T16:48:59Z")

</div>

If it appears in all models, it may be overused. If it’s on some models, maybe it’s too popular and overloaded. If it’s an account-by-account glitch, it’s troublesome.

---

<div class="post-metadata">

**Author:** ![xguihugging](https://avatars.discourse-cdn.com/v4/letter/x/e8c25b/32.png) [@xguihugging](https://discuss.huggingface.co/u/xguihugging)\
**Post date:** [November 19, 2024, 5:26pm UTC](https://discuss.huggingface.co/t/requests-exceptions-httperror-429-client-error-too-many-requests/126019/3 "2024-11-19T17:26:46Z")

</div>

This happens on all models. Is this rate limiting based on ip or user account?

---

<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:** [November 19, 2024, 5:29pm UTC](https://discuss.huggingface.co/t/requests-exceptions-httperror-429-client-error-too-many-requests/126019/4 "2024-11-19T17:29:33Z")

</div>

It depends your login status.

> **[Rate Limits](https://huggingface.co/docs/api-inference/rate-limits)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.
