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

# Errors

> HTTP errors returned by the Replied submit API.

## Status codes

| Code  | Meaning                          | Fix                                             |
| ----- | -------------------------------- | ----------------------------------------------- |
| `200` | Request accepted.                | No action needed.                               |
| `400` | Invalid request body or API key. | Check JSON, required fields, and key value.     |
| `403` | Origin not allowed.              | Add the site origin to the API key allowlist.   |
| `429` | Rate limit reached.              | Slow down retries and test again later.         |
| `500` | Server error.                    | Contact support with request time and key name. |

## Example errors

```json theme={null}
{
  "error": "Invalid API key"
}
```

```json theme={null}
{
  "error": "Origin not allowed"
}
```
