Skip to main content
The API returns errors in a consistent JSON format. Each error includes a numeric code, a short message, and the related entity.

Error response format

Error codes

Code 25 during approval submission usually means the user has not yet approved Permit2 for the source token. See Approve for Permit2. Code 43 means a native token was used as the source; wrap it first, see Wrap Native Tokens.