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

# Errors

> Every error is a status and {"detail": {"code", "message"}}.

```json theme={"system"}
{"detail": {"code": "needs_approval", "message": "..."}}
```

| Status | Code | What it means |
| - | - | - |
| 401 | `bad_key`, `bad_token` | The key or sign-in is wrong, revoked or replaced. |
| 403 | `not_allowed` | This key may not call this tool, or it is read-only. |
| 403 | `missing_scope` | The project key lacks the memory (or actions) scope. |
| 404 | `no_such_tool` | No tool with that name. |
| 404 | `user_not_found` | No such user of your app yet. Save something first. |
| 409 | `needs_approval` | Ask the person, then send `"approved": true`. See [Tools that ask first](/dev/docs/concepts/asks-first.md). |
| 422 | `bad_arguments` | The arguments don't match the tool's schema. |
| 400 | `tool_error` | The tool said no, in its own words (for example: memory is full). |
| 429 | `rate_limited` | Too many requests. Wait and try again. |


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