# 504 timeout error

**URL:** <https://discuss.huggingface.co/t/504-timeout-error/155283>\
**Category:** Beginners\
**Created:** [May 15, 2025, 4:39am UTC](https://discuss.huggingface.co/t/504-timeout-error/155283 "2025-05-15T04:39:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tanujg78](https://avatars.discourse-cdn.com/v4/letter/t/e99b99/32.png) [@tanujg78](https://discuss.huggingface.co/u/tanujg78)\
**Post date:** [May 15, 2025, 4:39am UTC](https://discuss.huggingface.co/t/504-timeout-error/155283/1 "2025-05-15T04:39:39Z")

</div>

Why I am getting so many 504 timeout error today. I am invoking Mistral-7B-Instruct-v0.3 LLM using api\_key. I have a pro plan  
After 5-6 API calls in between sometime its working

---

<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:** [May 15, 2025, 5:27am UTC](https://discuss.huggingface.co/t/504-timeout-error/155283/2 "2025-05-15T05:27:35Z")

</div>

This behavior may be similar to what happens when the endpoint scale setting is small.

> **[FAQs](https://huggingface.co/docs/inference-endpoints/faq#q-im-sometimes-running-into-a-503-error-on-a-running-endpoint-in-production-what-can-i-do)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

> **[Autoscaling](https://huggingface.co/docs/inference-endpoints/autoscaling)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

---

<div class="post-metadata">

**Author:** ![tanujg78](https://avatars.discourse-cdn.com/v4/letter/t/e99b99/32.png) [@tanujg78](https://discuss.huggingface.co/u/tanujg78)\
**Post date:** [May 16, 2025, 5:51pm UTC](https://discuss.huggingface.co/t/504-timeout-error/155283/3 "2025-05-16T17:51:53Z")

</div>

Please help me with the  
solution?
