Skip to main content

Error responses

Errors are returned in the following format:

What each status means

502 on a quote is usually not an outage. POST /v1/quotes answers 502 solver-error when no solver returns a usable quote: tokens that are not in GET /v1/tokens, pairs with no available liquidity, amounts no solver can fill, and cold routes that take longer than the quote budget. Check the pair against GET /v1/tokens; if it is listed, retry a moment later. The full code catalog is in the OpenAPI document under x-error-catalog.