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

# Errors

> Status codes and the error format.

Errors use standard HTTP status codes. The body is JSON:

```json theme={null}
{
  "statusCode": 404,
  "message": "Wishlist not found",
  "error": "Not Found"
}
```

Use `statusCode` in your code. `message` is for people and can change.

| Status | Meaning |
| - | - |
| `400` | A parameter or the request body is not valid, for example a `limit` above `100`, a bad cursor, an ID that is not a UUID, or a title that is too long. The `message` names each invalid field. |
| `401` | The token is missing, unknown or revoked. See [Authentication](https://developers.onio.app/authentication.md). |
| `403` | The token does not have the scope that the endpoint needs. |
| `404` | The resource does not exist, was deleted, or belongs to another account. |
| `409` | The write cannot be done now. The wishlist is archived, or your data changed during the request. See [Writing data](https://developers.onio.app/writing-data.md#conflicts). |
| `429` | Too many requests. See [Rate limits](https://developers.onio.app/rate-limits.md). |
| `5xx` | An error on our side. Retry later with a backoff. |

> [!NOTE]
>
> The API answers `404` for wishlists of other accounts, not `403`. This way it never confirms that
> an ID exists.


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