Errors
Understand API errors and fix common integration issues.
Error format
{
"error": "Missing required parameters: tokenIn, tokenOut, amount"
}HTTP status codes
400 invalid parameters
400 invalid parameters404 no route found
404 no route found502 upstream or calldata failure
502 upstream or calldata failure504 timeout
504 timeoutCommon mistakes
Using human-readable amounts
Calling /quote and expecting calldata
/quote and expecting calldataForgetting recipient on /swap
recipient on /swapForgetting token approval
Handling native MON like an ERC-20
MON like an ERC-20Debug checklist
Last updated