Skip to main content

Errors And Status Codes

Error Format

Most errors use this shape:

{
"error": {
"code": "STRING_CODE",
"message": "Human readable message",
"details": []
}
}

Common Status Codes

CodeMeaning
200Success
201Created
204No content
400Bad request or validation error
401Unauthorized
404Not found
409Conflict
500Server error

Validation Errors

When a request fails schema validation, details contains the validation issues.

Tenant Errors

If the tenant-id header is missing, the API returns a 400 error.