Skip to main content

Errors

HTTP Status Codes

StatusMeaning
400Bad Request
401Unauthorized
403Forbidden
404Not Found
409Conflict
422Validation Error
429Too Many Requests
500Internal Server Error

Error Payload Example

{
"error": {
"code": "validation_error",
"message": "The request payload is invalid.",
"details": []
}
}

Recommendations

  • Validate payloads before sending requests.
  • Handle 401 by refreshing the token and retrying.
  • Handle 429 with retry/backoff logic.
  • Log request/response metadata for troubleshooting.