codeis fixed and machine-readable. Branch oncode; theerrormessage text may change.requestIdis the same value as thex-request-idresponse header. Quote it when you contact Kamui.detailsappears on invalid requests and on some transaction errors. It lists up to 10{ path, issue }entries;pathnames the failing field, such asbody.address, or the failing transaction, such astransactions.1.
Error codes
Every action
users.transactions
transaction.quote and transaction.build
See Build transactions for the order in which a build runs its checks. “Build only” errors are reported by a quote in availability.reason instead, or not checked by it.
The
code list in the API reference also has codes the API does not answer today (invalid_address, unsupported_chain and jurisdiction_restricted). An invalid address answers 400 invalid_request. Handle any code you do not know by its HTTP status.
Errors are never cached (Cache-Control: no-store), and neither are successful responses.