Error fixes
Anthropic SDK 404 not_found_error
A 404 after a base URL change is the model id, not the key: read the status code, list the ids the key can call, drop the vendor prefix.
OpenAI SDK SSL certificate error
CERTIFICATE_VERIFY_FAILED is the local trust store or a proxy root: one curl to clear the host, then the bundle your SDK version reads.
Claude API 529 overloaded
Capacity on the model side, not your key: the 503 the gateway sends after every route was busy, how it differs from 402 and 429, and a backoff loop.
Anthropic overloaded_error
The error type in the body versus the HTTP status: a 529 direct, an error event inside a 200 stream, a 503 here. Branch on the body to catch all three.
Text content blocks must be non-empty
An empty text block beside an image or tool call refuses the whole request: the fixed shape, a filter that spares thinking blocks, and where the blanks start.
Flowise connection error
An OpenAI Custom Model node that saves but fails: route_not_found is the Base Path, invalid_api_key the credential, model_not_found the Model Name.
DSPy connection error
dspy.LM wants one openai/ prefix and an api_base that stops at /v1. Which error is DSPy's own and which is the gateway's, and the fix for each.
Haystack connection error
OpenAIChatGenerator with no api_base_url quietly calls OpenAI's host. That, an unresolved Secret and a wrong model id, told apart by where they are raised.
Dify connection error
A save that fails validation: the code in Dify's error names the field, from API Base URL to Model Name, and why a clean save can still fail later.
OpenAI 401 Incorrect API key
401 Incorrect API key provided means the key and the base URL do not match.
Claude Code: Content block not found
API Error: Content block not found is a dropped stream event, a later event with no start.
OpenAI 500 invalid content
The model produced invalid content is a 500: accepted, but the output could not be returned.
OpenAI 400 unsupported image
You uploaded an unsupported image is a 400 for an image the API cannot read.
Anthropic prompt is too long
prompt is too long is a 400 when the input alone passes the model's window.
OpenAI context_length_exceeded
context_length_exceeded is a 400 when the request does not fit the window.
OpenAI 503 server_is_overloaded
server_is_overloaded is a 503 for no capacity now; it is a 5xx, not a 429.
Gemini API key not valid
Gemini cannot match the key it was sent; a leaked-key 403 is a different error.
Gemini 404 model not found for v1beta
A 404 on the model name or method: the id, version or method does not match.
Anthropic SDK could not resolve authentication method
Raised by the Anthropic SDK before any request leaves: no credential in the running process.