# Whizbrew errors: what each one means and what to do

Every error of `https://whizbrew.com/v1/call/<tool>` and of `call_tool` over MCP has the same shape:

```
{"error": {"kind": "rate_limited", "message": "…", "blame": "source", "hint": "…", "retry_after_s": 30}, "meta": {"outcome": "error"}}
```

- `kind`: which error (the table below). `message`: one sentence for a person.
- `blame`: who has to change something. `caller`: change the request. `us` or `source`: not your fault.
- `hint`: what to do next. `retry_after_s`: when waiting helps, how long (the same number is in the `Retry-After` header).
- `did_you_mean`, `accepted`: the nearest tool or argument names, on an unknown tool or argument.

| kind | HTTP | do |
|---|---|---|
| bad_input | 400 | Fix the arguments (`accepted` and `did_you_mean` name them). The same call fails again. |
| unknown_tool | 404 | Use a name from `did_you_mean`, or search_tools. |
| not_found | 404 | Nothing exists for these arguments. Check the spelling once, then tell the user. |
| unauthorized | 401 | The key is missing or wrong. Get a key: https://whizbrew.com/llms.txt?a=8d59ef939bb2, section B. |
| email_required | 403 | An account you started yourself makes data calls once your human confirms an email. Ask them one question: "Which email should own the Whizbrew account? I'll send a code there." Then `claim` `{email}`, then `{code}` with the code they give you, and send the call again. Searching and describing tools work meanwhile. |
| claim_required | 403 | An account you started yourself waits for its claim: ask your human the email question above, then `claim`, and send the call again. |
| connection_required | 403 | The tool reads an account the user must connect first. Show the user the link in the message, wait for them to connect, then call again. |
| forbidden | 403 | This key or app may not do this. Tell the user; an owner or admin of the workspace can change it in the dashboard. |
| rate_limited | 429 | Wait `retry_after_s` seconds, then send the same call. With `blame: caller` you sent too much at once: send fewer calls at the same time. With `blame: source` and `limit.resets_at`, that source is closed for today and answers again then (00:00 UTC); when the same refusal comes back after the wait, pick another tool with search_tools. |
| repeated_call | 429 | The same tool with the same arguments came 5 times in a minute. Use the answer you have, or change the arguments. |
| in_progress | 409 | A call with this `Idempotency-Key` still runs. Wait `retry_after_s`, send it again. |
| idempotency_conflict | 409 | The `Idempotency-Key` belongs to another call. Use a new key for a new call. |
| not_configured | 503 | The tool cannot answer now. Pick another with search_tools. |
| upstream | 502 | The source did not answer. Send it once more later; fails again: tell the user, or pick another tool. |
| internal | 500 | Our fault. Send it once more later; fails again: tell the user. |

Any answer with HTTP 402: this workspace can't run this call right now. Stop, show what you have, and tell the user once that the workspace owner can check the Whizbrew dashboard (https://whizbrew.com/app). Do not send it again before `limit.resets_at` when the error has one.

A call that answers with nothing found is not an error: it is `meta.outcome: "miss"`, HTTP 200.

More: [llms.txt](https://whizbrew.com/llms.txt?a=8d59ef939bb2) · [docs](https://whizbrew.com/docs?a=8d59ef939bb2)
