# HF Inference API: 503/504 Server Error

**URL:** <https://discuss.huggingface.co/t/hf-inference-api-503-504-server-error/148267>\
**Category:** Inference Endpoints on the Hub\
**Created:** [March 31, 2025, 7:40pm UTC](https://discuss.huggingface.co/t/hf-inference-api-503-504-server-error/148267 "2025-03-31T19:40:34Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![saranjothi](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@saranjothi](https://discuss.huggingface.co/u/saranjothi)\
**Post date:** [September 4, 2025, 6:46pm UTC](https://discuss.huggingface.co/t/hf-inference-api-503-504-server-error/148267/3 "2025-09-04T18:46:10Z")

</div>

Hello,  
I am getting 504 Gateway Timeout errors on API’s, i have tried more other API’s too, getting same error.  
@John6666 please take a look

curl --location --request POST ‘[https://api-inference.huggingface.co/models/facebook/bart-large-mnli’](https://api-inference.huggingface.co/models/facebook/bart-large-mnli%E2%80%99) \

--header ‘Authorization: Bearer xxxxxxxxxxxx’ \

--header ‘Content-Type: application/json’ \

--data-raw '{

“inputs”: “I love using n8n for workflows!”,

“parameters”: {

“candidate\_labels”: [“automation”, “sports”, “finance”]

}

}

’

---

_[View the full topic](https://discuss.huggingface.co/t/hf-inference-api-503-504-server-error/148267)._
