> For the complete documentation index, see [llms.txt](https://support.thealtening.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.thealtening.com/api-reference/error-codes.md).

# Error Codes

### Error codes

| Code                      | Meaning                                                                                                                                                   |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 401 Unauthorized          | API key missing or invalid.                                                                                                                               |
| 403 Forbidden             | Your plan cannot access the requested endpoint — for example, a free user calling `/generate`, or a non-Premium user calling favorites/private endpoints. |
| 404 Not Found             | Endpoint does not exist — check the path and spelling.                                                                                                    |
| 500 Internal Server Error | Unexpected server error. Try again later.                                                                                                                 |
