Getting Not Found for model google/flan-t5-small (and others)

Hi everyone,

I am new to HF and I’m trying to use the Inference API to call the model google/flan-t5-small from the Hugging Face Hub.
I have a PRO subscription and I’m using a valid access token with Read permission.
Here’s the exact curl command I’m using:

curl -X POST https://api-inference.huggingface.co/models/google/flan-t5-small
-H “Authorization: Bearer hf_…”
-H “Content-Type: application/json”
-d ‘{“inputs”: “Translate to French: How are you?”}’

But the response I get is simply:
Not Found

No JSON body, no additional error message — just that plain string.
I’ve tried:

  • Regenerating the token
  • Testing other models like bloomz-560m and t5-base-finetuned-common_gen (same result)
  • Using curl -i to inspect headers

I’m not sure if I’m doing something wrong or if these models aren’t available via Inference API.
but I tried it a few days ago and it worked
Any guidance would be appreciated!

Thanks in advance :folded_hands:

1 Like

Everyone is in pretty much the same situation right now…

Thanks a lot for the reply.
That clarifies things — I guess we just have to wait and hope it gets resolved soon.
I was planning to use it for a class tomorrow, so fingers crossed :crossed_fingers:
Good to know I’m not the only one experiencing this!

1 Like

Hi! This is fixed now though let us know if you continue running into issues. Thanks for reporting!

1 Like

Are you sure? I just tried it with the same curl command and it still doesn’t work.

2 Likes