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

# Error responses and HTTP status codes

> Anbyan tenant API error response shape with a message and field-level errors, plus common 400, 401, 403, 404, 409, and 422 status codes.

Errors return a `message` and may include field-level `errors`.

```json theme={null}
{
  "message": "The given data was invalid.",
  "errors": {
    "email": ["The email field is required."]
  }
}
```

Common status codes:

| Status | Meaning |
| - | - |
| `400` | The request could not be processed. |
| `401` | Authentication is missing or invalid. |
| `403` | The authenticated user does not have access. |
| `404` | The resource was not found. |
| `409` | The request conflicts with current state. |
| `422` | Validation failed. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.