Skip to content
Download as .md

Response Codes

Envelope

Every response is {"response_code": "...", "response_text": "...", ...} - response_code is one of the codes below, response_text is that code's message (localized, see Accept-Language on the API Reference pages).

Account Error

CodeMessageHTTP Status
085Account is suspended403
464Account locked due to too many failed attempts403

Auth Error

CodeMessageHTTP Status
081Authentication error401
083Invalid token401
403Access forbidden403
422Invalid credentials401
423Expired token401
424Insufficient permissions403
496Session expired401

Business Error

CodeMessageHTTP Status
453Service under maintenance503

Client Error

CodeMessageHTTP Status
082Required field is missing400
097Resource not found404
098Resource conflict409
400Invalid request400
401Invalid request format400
404Path not found404
405Method not allowed405
407Invalid operation type400
408Operation name mismatch400
502Rate limit exceeded429
509Resource already exists409

Server Error

CodeMessageHTTP Status
060Internal server error500
504Service temporarily unavailable503

Service Error

CodeMessageHTTP Status
483Error processing operation400

Success

CodeMessageHTTP Status
001Success200
002Created successfully201
003Updated successfully200
004Deleted successfully200
005Data retrieved successfully200
006Operation is pending202

System Error

CodeMessageHTTP Status
000Unknown error400

Validation Error

CodeMessageHTTP Status
431Validation error422

Sample Response Patterns

Success

json
{
  "response_code": "001",
  "response_text": "Success",
  "data": { ... }
}

Paginated success

json
{
  "response_code": "001",
  "response_text": "Success",
  "data": {
    "items": [ ... ],
    "pagination": {
      "current_page": 1,
      "page_size": 10,
      "total_items": 42,
      "total_pages": 5
    }
  }
}

Error

json
{
  "response_code": "097",
  "response_text": "Resource not found",
  "error_details": {
    "error": "CLIENT_ERROR",
    "detail": "...",
    "path": "/v2/..."
  }
}

Auth error

json
{
  "response_code": "081",
  "response_text": "Authentication error",
  "error_details": {
    "error": "AUTH_ERROR",
    "detail": "...",
    "path": "/v2/..."
  }
}

Validation error

json
{
  "response_code": "431",
  "response_text": "Validation error",
  "errors": [
    { "field": "email", "message": "email is required" }
  ]
}