To restore API access, request a higher
approved usage limit
or
contact support
.
503 - Model temporarily overloaded
A
503
response with the
service_unavailable_error
type and
server_is_overloaded
code indicates that the requested model does not have enough capacity to process your request at the moment.
If a
Retry-After
header is present, wait at least as long as it specifies before retrying. If it’s missing, increase the delay between retries. If the error continues, check the
status page
for an active incident.
Python library error types
Python raises
RateLimitError
for
429
responses and
InternalServerError
for
503
responses. If your handler previously caught only one of these classes for throttling and overload, handle both and inspect
error.code
.
