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

# Errors

> HTTP status codes and error responses returned by the NitroTranslate API.

The NitroTranslate API uses conventional HTTP status codes to indicate the
success or failure of a request.

## HTTP status codes

| Code | Meaning |
| - | - |
| `400` | Bad Request — Something went wrong; see the response body for details. |
| `401` | Unauthorized — Invalid API key. |
| `403` | Forbidden — The requested resource is hidden for administrators only. |
| `404` | Not Found — The specified resource could not be found. |
| `405` | Method Not Allowed — You tried to access a resource with an invalid method. |
| `406` | Not Acceptable — You requested a format that isn't JSON. |
| `413` | Request Entity Too Large — Request body exceeds the 30 MB limit. |
| `429` | Too Many Requests — Rate limiting applies. |
| `500` | Internal Server Error — A problem occurred on our end. |
| `503` | Service Unavailable — Temporarily offline for maintenance. |

## Error responses

A `400` response returns an error object with a `code`, a human-readable
`description`, and optional `parameters`:

```json theme={null}
{
  "code": "INSUFFICIENT_FUNDS",
  "description": "Account lacks funds to place an order",
  "parameters": {}
}
```

### Error codes

| Code | Meaning |
| - | - |
| `INSUFFICIENT_FUNDS` | The account lacks the funds to place the order. |
| `WRONG_ORDER_STATUS` | The order isn't in `QUEUE` status, so it can't be deleted. |
| `LANGUAGE_NOT_FOUND` | No appropriate language pair is available. |


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