CodeMeaning
400Invalid request parameters
401Unauthorized or invalid API key
403Insufficient permissions
404Resource not found
429Too many requests or rate limiting
500Internal server error
501Interface not implemented

Error response format

{
  "error": {
    "message": "Error description",
    "type": "invalid_request_error",
    "code": "invalid_api_key"
  }
}

Rate limits

Limits can vary by account, route and upstream service conditions. Check the limits shown in your account. For steps to diagnose a failed request, see HTTP troubleshooting.