Error index
Common LLM API errors, each with the cause in one sentence, a copy-paste fix, step-by-step instructions and the official sources.
429 Too Many Requests: rate_limit_exceeded
You sent more requests or tokens than your rate limit allows in the current window, so the API refused this one.context_length_exceeded
The prompt, chat history and tool results you sent, plus room for the reply, are bigger than the model's context window.JSONDecodeError: Expecting value
json.loads() was given text that does not start with a JSON value, usually a ```json fence, a line of prose, or an empty reply.
See also: Troubleshooting guides · Failure modes · Context planner