HTTP 500
internal_errorInternal API error
The API could not complete the request because of an internal error.
Resolution
Retry with backoff and provide the request ID if the problem persists.
Response handling
Keep the response's request_id for diagnostics. Retry only transient rate limits and 503 responses, respecting Retry-After with bounded exponential backoff and jitter. For monthly_quota_exceeded, stop polling until RateLimit-Reset or upgrade. Correct 400, 401, 403, and 406 requests before retrying.