Spaces:
Running
on
Zero
TypeError is coming from the Hugging Face space (both /generation_all and /shape_generation reject every payload type
I have a Remix + React app that integrates with a Hugging Face Space endpoint (Gradio-based) to generate content via API. Everything was working perfectly for several weeks, but recently it started throwing this error: TypeError: The upstream endpoint isn’t accepting inputs
When I checked the network logs, it shows that both endpoints /generation_all and /shape_generation now reject every payload type.
The app logic hasn’t changed — it still sends the same payloads that worked earlier. So, it seems like the problem is coming from the Hugging Face Space API side rather than from Remix itself.
🧠 What I’ve Tried
Verified that my app’s code and payload structure haven’t changed.
Tested with multiple payload types ({ data: [...] }, { inputs: ... }, etc.) — all fail.
Confirmed that my Hugging Face API key is valid and has inference permissions.
Checked the Hugging Face Space directly — it loads, but the API endpoints return rejections.
Read in other AI community posts that this usually means the Gradio backend or Space API is no longer accepting inputs or has changed its input schema.
Environment
Frontend: Remix React app
Backend: Calls to Hugging Face Space endpoints (Gradio-based)
API used: /generation_all and /shape_generation routes
Worked fine until recently (no app code changes)
❓ Question
What could cause a previously functional Hugging Face Space API (Gradio app) to start rejecting all inputs with a TypeError: upstream endpoint isn’t accepting inputs error — even though the client app hasn’t changed?
I have checked multiple times but the code is fine error is coming from the API key of Hugging Face Kindly check it from your side and inform me the solution or any thing you want to ask about the code related you can ask waiting for you response