LayerHopdocs

Error codes

NO_ROUTE

No route: No provider supports this route, or every provider that does failed to quote.

Open in ClaudeOpen in ChatGPT
HTTP status Retry
404 with backoff

Where it comes from: GET /v1/quote.

Causes#

  • No loaded provider handles the pair — for example a Solana → EVM route when deBridge and LI.FI are both unavailable, or a same-token swap on one chain.
  • Every eligible provider failed or timed out (each provider has 8 s by default).
  • Liquidity is insufficient or price impact is too high (mapped from provider errors).

How to fix#

  • Check Providers for which provider covers which route.
  • Retry after a short delay; transient provider outages are common.
  • Try a different amount or a more liquid token (USDC, native coin).

Example response#

JSON
{
  "error": {
    "code": "NO_ROUTE",
    "message": "No provider returned a quote",
    "requestId": "0d5e1f6a-3b2c-4d1e-8f9a-7b6c5d4e3f21",
    "docsUrl": "https://docs.layerhop.com/errors/NO_ROUTE"
  }
}

See Error handling & retries for a retry strategy, and the error catalog for every code.