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

# Errors

> API error responses

## Error Format

All errors return this format:

```json theme={null}
{
  "err": "Error message here",
  "response": null
}
```

## HTTP Status Codes

| Code | Description |
| - | - |
| `200` | Success |
| `400` | Bad Request - Invalid parameters |
| `401` | Unauthorized - Invalid API key |
| `403` | Forbidden - Insufficient permissions |
| `404` | Not Found - Resource doesn't exist |
| `429` | Too Many Requests - Rate limit exceeded |
| `500` | Server Error - Something went wrong |

## Common Errors

### Invalid API Key

```json theme={null}
{
  "err": "Invalid API key",
  "response": null
}
```

**Solution:** Check your API key in Dashboard → Settings

### Bot Not Found

```json theme={null}
{
  "err": "Bot not found",
  "response": null
}
```

**Solution:** Verify bot ID is correct

### Rate Limit Exceeded

```json theme={null}
{
  "err": "Rate limit exceeded",
  "response": null
}
```

**Solution:** Wait or upgrade your plan

## Next Steps

> [card] [Authentication](/docs/api-reference/authentication.md)
>
> API authentication

> [card] [Rate Limits](/docs/api-reference/rate-limits.md)
>
> Rate limit details


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