Docs /Getting Started/Error codes

Error codes

Start with the full error message, not only the HTTP status code. A code can have more than one cause. When contacting support, include the model, app, full error text, approximate time, and request ID if available. Remove API keys, passwords, and private conversation content.

Client Errors

400 - Invalid Request, Context Limits, or Cold Model

A 400 response can mean an unsupported parameter, an input/output token limit, or a model that is cold and not ready for inference. Follow the specific message rather than treating every 400 as a cold-model error.

If the message names an unsupported setting, remove or correct it. For context or max_tokens errors, shorten the input or reduce the output allowance: input tokens + max_tokens must fit within the context available for your exact model and plan. max_tokens cannot exceed 32,768 on any plan, and must be smaller when less context space remains. Reasoning can use part of the output allowance before a visible answer appears.

The following response was observed with a 32,768-token available context limit. Its model and limit are an example; use the limit returned for your request.

Observed output-token limit error (HTTP 400)
{
  "error": {
    "message": "max_tokens=32768 leaves no room for the prompt in the model's context size of 32768 tokens for 'Qwen/Qwen3.8-27B'. Set max_tokens below 32768, leaving room for the prompt.",
    "type": "invalid_request_error",
    "param": "max_tokens",
    "code": "max_tokens_too_large"
  }
}

In this example, setting max_tokens to 32,768 leaves no room for the prompt. Reduce it enough to leave room for all input, or shorten the conversation. Retrying the same invalid request will not resolve it.

A model can be cold, loading, or warm. Cold models must load before they can respond; check the model card for its status. If the error says the model is cold, wait before retrying or choose another suitable model. Loading time varies with model size and system load; no specific loading time is guaranteed.

401 - Unauthenticated

Check that the API key is active, copied correctly, belongs to the intended Featherless account, and is being sent to Featherless. For direct HTTP requests, use Authorization: Bearer FEATHERLESS_API_KEY. Never share the actual key in support messages or screenshots.

403 - Access Denied

A 403 can indicate model access or license requirements, or a security service blocking the request. If the message concerns model access, check the model page and complete any required license or Unlock Model steps. If it is a security or Cloudflare error, share the full sanitized message with support rather than assuming the model license is the cause.

429 - Concurrent-Unit or Model-Switch Limit

Read the associated error message to identify the limit. Concurrent-unit rejection means too much work is running at once. Each active request reserves the selected model's unit cost; requests from other apps and agents share the allowance. Reduce parallel work, close unused clients, queue requests, or wait for existing requests to finish.

A 429 can also concern switching models too frequently. If the message identifies a model-switch limit, reduce how often you switch and check your plan's allowance. Avoid retrying in a tight loop. If rejection continues while you believe you are within the limit, send support the message, approximate time, and request ID if available.

See Concurrent Unit Limits for per-model costs and parallel-request guidance.

Credit Balance Exhausted

For credit-based API usage, requests are blocked when the usable balance reaches zero or below, until more credits are available. Read the returned billing message, check your account balance, and add credits or review your subscription settings as appropriate.

Unused Pay-As-You-Go credits roll over and do not expire, and can be used after the subscription lapses. Failed requests should not be billed. If you suspect a charge for a failed request, contact support with your account email, error, approximate time, and request ID if available so it can be investigated.

See Pay-As-You-Go and Credits for billing, balances, and top-ups.

Server Errors

500 - Internal Server Error

The request failed on the service side. If it persists, contact support with the error, model, approximate time, and request ID if available. An error code alone does not establish the underlying cause.

503 - Service Temporarily Unavailable / Insufficient Model Capacity

A 503 or No valid Executor message can indicate insufficient model capacity at that time; it does not by itself establish a site-wide outage. Check the exact message and model status.

Wait before retrying, use increasing delays between retries, or choose another suitable model. Avoid tight retry loops. If the issue persists, contact support; no specific restoration time is guaranteed. Cold-model errors and capacity errors are not necessarily the same problem.

Last edited: Nov 12, 2026