Skip to main content

Errors


Error response schema

The error response schema is the same for each API method.

NameTypeDescription
jsonrpcstringJSON-RPC version.
idstringClient's custom ID.
errorobjectPossible errors.
»codeintegerError code.
»messagestringError message.

Error codes

Each API method can return one of the errors from the following table.

Error codeError description
400Slippage value couldn't be processed.
422Invalid status.
422Invalid address.
422Network or token couldn’t be processed.
422Intent couldn’t be processed.
422Swap type unsupported for requested token.
422Invalid balance.
500Provider internal error.
500Internal error.