# Inference API down?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Finference-api-down%2F89988%3E%5C
**Category:** Beginners\
**Created:** [June 3, 2024, 7:41am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Finference-api-down%2F89988 "2024-06-03T07:41:25Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![pd-t](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/pd-t/32/27738_2.png) [@pd-t](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fpd-t)%5C
**Post date:** [June 4, 2024, 8:14am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Finference-api-down%2F89988%2F9 "2024-06-04T08:14:38Z")

</div>

@nielsr I have debugged the problem further. The endpoints work as long as they are public. Both with and without scale to zero. If I secure the endpoint and request it without a token, a 401 is returned. So far so good. But if I pass a valid token, I get a 500. Do your integration tests work?

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Finference-api-down%2F89988)._
