Errors
Error response schema
The error response schema is the same for each API method.
| Name | Type | Description |
|---|---|---|
| jsonrpc | string | JSON-RPC version. |
| id | string | Client's custom ID. |
| error | object | Possible errors. |
| »code | integer | Error code. |
| »message | string | Error message. |
Error codes
Each API method can return one of the errors from the following table.
| Error code | Error description |
|---|---|
400 | Slippage value couldn't be processed. |
422 | Invalid status. |
422 | Invalid address. |
422 | Network or token couldn’t be processed. |
422 | Intent couldn’t be processed. |
422 | Swap type unsupported for requested token. |
422 | Invalid balance. |
500 | Provider internal error. |
500 | Internal error. |