Skip to main content
Errors use the OpenAI envelope, extended with status_code and request_id. Quote request_id when contacting support.
When to retry: 429 — after Retry-After; 502 — right away or after a short delay; 503 — later or with another model. Do not retry 400 and 404 without changing the request.