API Errors
SDD Classification: L3-Technical
Authority: Engineering Team
Review Cycle: Quarterly
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 uniquerequest_id. When contacting support:
- Note the
request_idfrom the error response - Include the timestamp of the request
- Describe the action being performed
- Provide any relevant context
Related Documentation
- API Overview - API fundamentals
- Authentication - Auth error details
- Rate Limits - Rate limit errors
Document Status: Complete Version: 2.0