# Unknown error in model inference API

**URL:** <https://discuss.huggingface.co/t/unknown-error-in-model-inference-api/31703>\
**Category:** 🤗Hub\
**Created:** [February 14, 2023, 1:29pm UTC](https://discuss.huggingface.co/t/unknown-error-in-model-inference-api/31703 "2023-02-14T13:29:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ivelin](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/ivelin/32/13712_2.png) [@ivelin](https://discuss.huggingface.co/u/ivelin)\
**Post date:** [February 14, 2023, 1:29pm UTC](https://discuss.huggingface.co/t/unknown-error-in-model-inference-api/31703/1 "2023-02-14T13:29:57Z")

</div>

Hub team,

My model appears to load fine and the API widget accepts queries, but the result is `unknown error`. Any clues how to get to the root cause?

> **[ivelin/donut-refexp-combined-v1 · Hugging Face](https://huggingface.co/ivelin/donut-refexp-combined-v1)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

 ![Screen Shot 2023-02-14 at 7.25.55 AM](https://us1.discourse-cdn.com/hellohellohello/original/2X/0/0138d61c1beff4ca81950823cd13ec17b58282e2.png)

Thank you!

I see several other people reported similar issues in the past without clear response:

> [@Unexpected appeared "unknown error" in Inference API](https://discuss.huggingface.co/t/unexpected-appeared-unknown-error-in-inference-api/19582):
>
> Hello! I uploaded my first model to the Huggingface HUB [Mraleksa/fine-tune-distilbert-exitru · Hugging Face](https://huggingface.co/Mraleksa/fine-tune-distilbert-exitru), and was immediately able to use the Inference API. But a few hours later, an “unknown error” was received, despite the API status being displayed as “This model is now loaded and running on the Inference API.” Can someone tell me how it happened?

> [@Feature extraction using Inference API error](https://discuss.huggingface.co/t/feature-extraction-using-inference-api-error/13959/2):
>
> I had this same issue. It appears in the model hub some of the sentence-transformer API endpoints are set up for sentence similarity while others are set up for feature extraction. Passing the query as you have there to a sentence similarity endpoint results in an error. Try using a different model with a feature extraction endpoint like: Craig/paraphrase-MiniLM-L6-v2 or julien-c/distilbert-feature-extraction

> [@Inference API Issues](https://discuss.huggingface.co/t/inference-api-issues/9841):
>
> Hello, My team have currently been using the Inference API under the Lab pricing model specifically to use the philschmid/bart-large-cnn-samsum model to summarise conversations. The API and model were working fine up until a few days ago when we started receiving the following error every-time we try and call the model: error\_message 'unknown error' exception HuggingFaceModelNotAvailableYetError('unknown error') response \<Response [500]\> response\_content { error: 'unknown error', warnings: [ "…
