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

# Error codes

> Every code, alphabetically

See [Errors](/guides/errors) for the envelope shape and how to handle
unknown codes. This page is the lookup table, alphabetical by code.

| Code | HTTP |
| - | - |
| `cannot_dm_user` | 403 |
| `client_error` | any 4xx |
| `conversation_archived` | 409 |
| `conversation_not_found` | 404 |
| `file_not_found` | 404 |
| `idempotency_key_reused` | 422 |
| `internal_error` | 500 |
| `invalid_auth` | 401 |
| `invalid_blocks` | 400 |
| `invalid_client` | 401 |
| `invalid_cursor` | 400 |
| `invalid_grant` | 400 |
| `invalid_request` | 400 |
| `message_not_found` | 404 |
| `missing_idempotency_key` | 400 |
| `missing_scope` | 403 |
| `not_acceptable` | 406 |
| `not_allowed_in_conversation` | 403 |
| `not_authed` | 401 |
| `not_found` | 404 |
| `not_in_conversation` | 403 |
| `payload_too_large` | 413 |
| `rate_limited` | 429 |
| `server_error` | any 5xx |
| `token_in_query` | 400 |
| `token_revoked` | 401 |
| `unsupported_grant_type` | 400 |
| `unsupported_media_type` | 415 |
| `user_deactivated` | 409 |
| `user_not_found` | 404 |

`token_expired` is reserved for a future refresh-token grant and isn't
returned today.
