Common status codes
Recommended handling
- Do not retry
400or401responses without changing the request or credentials. - Retry
429and temporary5xxresponses with exponential backoff. - Log the status and error code, but never log the API key.
- Use the error
messagefor diagnostics, not as a stable programmatic identifier.