Skip to main content
BlueAI
Home/Guides/Error Codes

Error Codes

Understanding API error responses.

|

Error Response Format

All error responses follow a consistent JSON format:

{
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "email is required",
    "details": { ... }
  }
}

HTTP Status Codes

StatusTitleDescription
400Bad RequestThe request body or parameters are invalid.
401UnauthorizedNo valid session or token was provided.
403ForbiddenThe user does not have permission for this action.
404Not FoundThe requested resource does not exist.
409ConflictThe request conflicts with current state (e.g. duplicate entry).
422Unprocessable EntityThe request is well-formed but contains semantic errors.
429Too Many RequestsRate limit exceeded. See the Rate Limiting guide.
500Internal Server ErrorAn unexpected error occurred on the server.