Skip to content

Error Handling ​

All API error responses follow a consistent envelope format.

Error Response Format ​

json
{
  "detail": {},
  "type": "string",
  "requestUuid": "uuid",
  "message": "Human-readable error message",
  "status": 422
}

Common Status Codes ​

StatusMeaning
400Bad Request — Invalid parameters
401Unauthorized — Missing or invalid token
403Forbidden — Insufficient permissions
404Not Found — Resource does not exist
422Unprocessable Entity — Validation failed
500Internal Server Error

Handling Errors ​

Always check the status field and the message for details. The detail field may contain validation errors for specific fields. The requestUuid can be provided to support for debugging.