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

# Errors

> HTTP status codes and error payload format used by the Kloo API.

The API uses conventional HTTP status codes. Errors return a JSON body with an `errors` array:

```json theme={null}
{
  "errors": [
    {
      "title": "You do not have access to the API.",
      "status": 401
    }
  ]
}
```

## Status codes

| Code | Meaning                                                  |
| ---: | -------------------------------------------------------- |
|  200 | Request completed successfully                           |
|  201 | Created                                                  |
|  400 | Bad request — required parameters are missing or invalid |
|  401 | Unauthorized — API key is missing or invalid             |
|  404 | The requested resource was not found                     |
|  429 | Too many requests — rate limit exceeded                  |
|  500 | Internal server error                                    |

<Note>
  Common messages include missing Bearer header, no API access, resource not found, and rate limit exceeded.
</Note>
