Errors and fixes
Every error the app can show, its exact wording, and what happens next. Search by code or by what you saw.
INVALID_PARAMS“Something's off with this input.”Your inputHighlights the fieldUNSUPPORTED_TOKEN“This token can't be traded on Pluto.”Your inputBlocks the actionNO_ROUTE“No route found for this pair.”MarketDisables the buttonINSUFFICIENT_LIQUIDITY“Not enough liquidity. Try a smaller amount.”MarketSuggests half the amountPRICE_IMPACT_TOO_HIGH“Price impact too high.”MarketDisables the buttonQUOTE_EXPIRED“Price updated. Review and confirm.”MarketGets a new quoteSIMULATION_FAILED“This swap would fail: TRANSFER_FROM_FAILED”MarketBlocks the actionSLIPPAGE“Price moved. Review new quote.”MarketGets a new quoteRATE_LIMITED“Too many requests, retrying…”NetworkWaits, then retriesSTATE_STALE“Network catching up…”NetworkRetries by itselfINTERNAL“Pluto is having trouble. Retrying…”NetworkRetries up to 3 timesSTALE_ROOT“Refreshing proof…”PrivateRebuilds the proofNULLIFIER_SPENT“This note was already spent. Resyncing…”PrivateResyncs notesINVALID_PROOF“Proof failed. Please try again.”PrivateAsks you to retryWALLET_REJECTED“Cancelled”WalletNothing, you cancelled
Source: src/lib/api/errors.ts → describeError()
Retries
Quotes try up to 3 times in all, then show the error:
RATE_LIMITED: waits Retry-After
STATE_STALE: 1 s
INTERNAL, network: doubles + jitter
3 tries failed: the error shows
Source: src/features/swap/use-swap-quote.ts
A swap that hits QUOTE_EXPIRED re-quotes once, silently. If the new price is more than 0.5% worse, you review it first.
Reproduce any error
In a dev build, open Mock QA (bottom left) and pick a variant. It sets the Prefer header, so the mock answers with that error.
Step 4 of 4
curl --get "http://127.0.0.1:4010/quote" \
-H "Prefer: code=429, example=rateLimited" \
--data "tokenIn=0x0000000000000000000000000000000000000000" \
--data "tokenOut=0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65" \
--data "amountIn=1"