Skip to main content

API Errors

SDD Classification: L3-Technical Authority: Engineering Team Review Cycle: Quarterly
This guide covers the error response format, HTTP status codes, error codes, and best practices for handling API errors in your applications.

Error Response Format

All API errors return a consistent JSON structure:

Error Object Properties


HTTP Status Codes

Success Codes (2xx)

Client Error Codes (4xx)

Server Error Codes (5xx)


Error Code Reference

Authentication Errors

Resource Errors

Validation Errors

Conflict Errors

Rate Limit Errors

Server Errors


Error Handling Best Practices

JavaScript/TypeScript Example

Retry Strategy with Exponential Backoff


Validation Error Details

Validation errors include detailed field-level information:

Debugging with Request IDs

Every API response includes a unique request_id. When contacting support:
  1. Note the request_id from the error response
  2. Include the timestamp of the request
  3. Describe the action being performed
  4. Provide any relevant context
Example support request:


Document Status: Complete Version: 2.0