# MCP troubleshooting

> Fix common Intents MCP server problems: 401 and 403 answers, rate limits, out-of-scope tools, live-mode refusals and the error codes they carry.

Per minute: 240 requests per IP, 30 quote calls (`quote_route`, `quote_swap`) per IP, and your
key's own limit per key. Over a limit you get `429` with `Retry-After`: wait that long before
retrying. Transport errors are JSON-RPC errors whose `data.code` is an API error code; a tool that
fails returns `isError` with the code, and `explain_error` explains any code.

## Common answers

| You see | Why | What to do |
|---|---|---|
| HTTP `401` with `WWW-Authenticate` | An account tool was called with no credentials, or a key or token is wrong or expired | Add `Authorization: Bearer ik_test_…`, or sign in when your client asks |
| HTTP `403` `insufficient_scope` | The OAuth connection was not granted that scope | Reconnect and approve the scope |
| HTTP `403` `FORBIDDEN` | The browser `Origin` is not https or localhost | Call from an https page or a server |
| HTTP `405` | A GET or DELETE: the server is stateless and has no event stream | Send JSON-RPC with POST |
| HTTP `429` `RATE_LIMITED` | Over a per-minute limit | Wait for `Retry-After`, then retry |
| "is an Intents Swap tool. Connect to …" | You called a tool on another product's endpoint | Use the endpoint it names, or `https://mcp.intents.fi` |
| "This connection is in LIVE mode …" | A live invoice needs confirming | Repeat the call with `mode: "live"` after checking the amount |
| `LIVE_MODE_LOCKED` | Live mode is not unlocked yet | Verify your email and add a payout wallet in the dashboard |

Every API error code has its own page under [Error codes](/docs/errors/); `explain_error` returns it.

---

Source: https://intents.fi/docs/mcp/troubleshooting · The whole corpus: https://intents.fi/docs/llms-full.txt
