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

# Error Codes

> Common error codes and their meanings

The API may send the following error codes. Other codes may be added in the future.

| Code                            | Description                                                                                  |
| ------------------------------- | -------------------------------------------------------------------------------------------- |
| `BANDWIDTH_ERROR`               | Error while loading bandwidth data. Please, try again                                        |
| `FORBIDDEN`                     | The request was forbidden. Check your permissions.                                           |
| `UNPROCESSABLE_ENTITY`          | Cannot process the request. Check your data.                                                 |
| `INVALID_INCLUDE`               | Cannot include the data you requested. Check your request.                                   |
| `INVALID_TOKEN`                 | The token is invalid. Request a new token.                                                   |
| `MISSING_ORGANIZATION`          | Organization is missing. Please, contact our support.                                        |
| `NOT_FOUND`                     | Generic error when the subject is not found                                                  |
| `[RESOURCE]_NOT_FOUND`          | Error when the \[RESOURCE] is not found                                                      |
| `POWER_ACTION_ERROR`            | Error while performing a power action. Please, contact our support.                          |
| `REINSTALL_SERVER_FAILURE`      | Error while trying to reinstall. Please, contact our support.                                |
| `ROLE_UPDATE_ERROR`             | Error while trying to update the role. Please, contact our support.                          |
| `SCHEMA_VALIDATION_ERROR`       | The data you sent is invalid. Check your params.                                             |
| `SERVER_ALREADY_REINSTALLING`   | The server you tried to reinstall is already reinstalling. Please wait it to finish.         |
| `SERVERS_OUT_OF_STOCK`          | No servers available in stock for the requested plan and site. Try a different plan or site. |
| `SSH_KEY_OWNERSHIP_ERROR`       | The ssh key you tried to add does not belong to the project. Check your project's ssh keys.  |
| `UNAUTHORIZED`                  | The token is invalid. Request a new token.                                                   |
| `VPN_SESSION_ALREADY_INITIATED` | The VPN Session was already initiated. Refresh your credentials.                             |
