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

# Errors

> Error formats and common HTTP status codes in the Legba API.

# Errors

The upstream docs describe a consistent error envelope:

```json theme={null}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error description",
    "details": {}
  }
}
```

## Common HTTP status codes

| Status | Meaning               |
| ------ | --------------------- |
| `400`  | Bad request           |
| `401`  | Unauthorized          |
| `403`  | Forbidden             |
| `404`  | Not found             |
| `429`  | Too many requests     |
| `500`  | Internal server error |
