Reference: What each status code means and what to do
Last updated: August 6, 2026
This is a single reference for what each error code means on the Friendli platform and how to act on it. For the detailed 422 breakdown, see I’m getting HTTP 422 “Unprocessable Entity.” What does it mean?
Before anything else: capture the exact status code and the full response body. This information will help you diagnose the issue and enable our Support team to investigate more efficiently if you decide to delegate the investigation to us.
Code | What it means on Friendli | Most common causes | First things to try |
|---|---|---|---|
400 Bad Request | The request reached us but the body can’t be parsed or a required field is missing. | Malformed JSON body; missing | Read the full body to find the offending field. Check that your JSON is valid and |
401 Unauthorized | The API key is missing, inactive, or not sent as a Bearer token. | Key not sent as a | Verify you’re sending a valid |
403 Forbidden | The key is valid but not allowed for this request — or there’s a billing/plan problem. There is no separate 402 on our platform; payment issues come back as | No active plan, expired plan, or credits exhausted; no default payment method; wrong endpoint ID on a Dedicated endpoint; the key’s default team isn’t the funded team. | Check your team role and that the key’s default team matches where your endpoint and credits live, or pass |
404 Not Found | The requested resource doesn’t exist for this request. | Wrong or mistyped | Double-check the ID and base URL, confirm the deployment exists, and wake or restart a sleeping endpoint. If the model was deprecated, migrate to another model or a Dedicated Endpoint. Check friendli.ai/docs/changelog for deprecation schedules. |
422 Unprocessable Entity | The request is well-formed but has invalid parameters or values. We validate requests, including tool schemas, rather than ignoring unsupported fields. | Unknown fields; tool schema issues ( | See the full breakdown in I’m getting HTTP 422 “Unprocessable Entity.” What does it mean? |
429 Too Many Requests | Rate limited — either your tier’s RPM cap or shared-capacity contention on Model API. | Tier limit reached, or a demand spike on a shared/high-demand model, which can happen even below your RPM. | Add retry with backoff and lower concurrency; use a fallback model; raise your tier; or move to a Dedicated Endpoint for guaranteed capacity. |
500 Internal Server Error | A server-side failure while processing the request. Retryable. | Transient fault; endpoint-creation call missing required config; restart/wake on a terminated endpoint. | Retry after a short delay. If it persists, send our Support team the request details and timestamps. |
503 Service Unavailable | The service is overloaded or an endpoint’s queue timed out; occasionally an infrastructure incident. | Very large token sizes causing queue timeouts; a temporary capacity or infra issue. | Reduce input size and/or |
Timeouts / hangs | The request stalls or never returns. | Forcing | Avoid forcing a tool call where it may not fit; reduce output length; for deploys, allow time for GPU allocation. Share timestamps if it persists. |
We hope this reference helps with your investigation. If you encounter a persistent error with any of the listed error codes or experience an unexpected production service interruption, please contact our Support team. We’ll do our best to help you troubleshoot the issue.