Skip to main content
All error responses follow the standard OpenAI format:
The request_id is end-to-end traceable. If you report a bug, include it — we can find your request in the logs.

Error catalog

Provider-specific errors

If code is provider_unavailable, the message comes from the original provider as-is. Common examples:

Streaming errors

If you request stream: true and something fails after the stream starts, you receive a final SSE message with the error shape:
Your parser should check whether the line contains error in addition to [DONE].