> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gosentrix.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Error Codes

> Complete list of API error codes

## Authentication Errors

| Code                  | HTTP Status | Description                     |
| --------------------- | ----------- | ------------------------------- |
| `invalid_credentials` | 401         | Invalid email or password       |
| `token_expired`       | 401         | Access token has expired        |
| `token_invalid`       | 401         | Invalid or malformed token      |
| `email_not_verified`  | 403         | Email address not verified      |
| `mfa_required`        | 403         | MFA verification required       |
| `step_up_required`    | 403         | Step-up authentication required |

## Validation Errors

| Code              | HTTP Status | Description               |
| ----------------- | ----------- | ------------------------- |
| `invalid_request` | 400         | Request validation failed |
| `missing_field`   | 400         | Required field is missing |
| `invalid_format`  | 400         | Field format is invalid   |
| `duplicate_value` | 409         | Value already exists      |

## Rate Limiting

| Code                  | HTTP Status | Description       |
| --------------------- | ----------- | ----------------- |
| `rate_limit_exceeded` | 429         | Too many requests |

## Server Errors

| Code                  | HTTP Status | Description                     |
| --------------------- | ----------- | ------------------------------- |
| `internal_error`      | 500         | Internal server error           |
| `service_unavailable` | 503         | Service temporarily unavailable |
