Error Response Format
All errors return a consistent JSON structure:HTTP Status Codes
| Code | Description |
|---|---|
200 | Success |
201 | Created |
400 | Bad Request - Invalid parameters |
401 | Unauthorized - Authentication failed |
403 | Forbidden - Insufficient permissions |
404 | Not Found - Resource doesn’t exist |
409 | Conflict - Resource already exists |
422 | Unprocessable - Business logic error |
429 | Rate Limited - Too many requests |
500 | Server Error - Internal issue |
Error Types
| Type | Description |
|---|---|
authentication_error | Invalid API key or signature |
authorization_error | Insufficient permissions |
validation_error | Invalid request parameters |
not_found_error | Resource not found |
conflict_error | Duplicate resource |
rate_limit_error | Too many requests |
api_error | Internal server error |