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

# Error Handling

The API uses standard HTTP status codes to indicate success or failure:

* 2xx: Success
* 400: Bad request (invalid parameters)
* 401: Unauthorized (invalid token)
* 404: Resource not found
* 429: Rate limit exceeded
* 500: Server error

Error responses include a JSON body with details:

```json theme={null}
{
  "error": {
    "code": "invalid_parameter",
    "message": "The parameter 'content' is required",
    "param": "content"
  }
}
```
