Error Handling
The APIs use standard HTTP status codes and structured JSON error responses.
Common Status Codes
| Code | Meaning |
|---|---|
200 | Success |
400 | Bad request |
401 | Unauthorized |
403 | Forbidden |
404 | Not found |
422 | Validation failed |
500 | Internal server error |
Error Payload
{
"error": {
"code": "VALIDATION_ERROR",
"message": "The request payload is invalid"
}
}