Skip to main content
OpenAI-compatible endpoints return the code field in the error envelope. Anthropic-compatible endpoints (/v1/messages) use a different envelope without code (see Errors). The 62 codes below apply to OpenAI-format responses.