Skip to main content

Error Format

Client API error responses share a common JSON body.

Generic error

{
"statusCode": 400,
"message": "Chat is too old. Please start a new chat.",
"error": "Bad Request"
}

Validation errors

message may be an array:

{
"statusCode": 400,
"message": [
"type must be a valid enum value",
"chatId must be a UUID"
],
"error": "Bad Request"
}

Common status codes

CodeMeaning
400Invalid request / business rule violation
401Missing or invalid access token
404Resource not found (chat, template)