Errors and limits

What each status means and what to do about it.

Status codes

StatusMeaningWhat to do
400Bad request, or the model has no priceFix the body, or pick a model from Market
401Key is wrong, revoked, or has hit its cap; or the session expiredCheck the key, or sign in again
402Playground: balance too low. x402: payment problemAdd balance, or fix the payment
403Balance is too lowAdd balance
409x402: this payment or quote was already usedRequest a new quote
429Rate limitedWait and retry
502The seller failed (x402: after payment)Try again; x402 payments are recorded for refund
503No healthy seller for that model right nowTry another model or wait

Error codes

CodeMeaning
invalid_walletThe wallet address is not a valid 0x address
bad_signatureThe signature does not match the wallet and message
nonce_expiredThe sign-in message is older than five minutes or was already used
key_limit_reachedYou already have 25 keys
invalid_limitThe spend cap is not a positive number
reserved_nameThat key name is reserved
unpriced_modelThe model has no list price
insufficient_balanceNot enough balance for this message
no_sellerNo healthy seller for that model
invalid_requestA message is too long, empty, or the conversation is malformed
invalid_applicationThe seller application is missing a field or out of range
invalid_amountA top-up amount outside $1 to $500
unknown_quoteThe quote does not exist, or belongs to another wallet
payer_is_not_this_walletThe payment was made by a different wallet than the one claiming it

Limits

ActionLimit
Sign-in nonce and verify20 per minute per IP
Create keys10 per hour per wallet
Keys per wallet25
Playground messages30 per minute per wallet
Seller applications5 per day per wallet
x402 requests60 per minute per IP
Session length24 hours