LayerHopDocsLaunch app (opens in a new tab)

ROUTE_EXCLUDED

Every route is on your avoid list: The quote's avoid-lists (excludeProviders, excludeBridges, excludeExchanges) ruled out every route for this pair.

HTTP status Retry
404 no

Where it comes from: GET /v1/quote, POST /v1/quote; per provider in QuoteResponse.errors when a LI.FI route used an avoided bridge or exchange.

Causes#

  • Every provider that serves the route is excluded, directly or because it is an avoided bridge or exchange (for example excludeBridges=relay excludes Relay).
  • The only routes the remaining providers found go through an avoided bridge or exchange.

How to fix#

  • Remove a provider, bridge or exchange from the avoid-lists and quote again.
  • Try another token or chain pair.

Example response#

JSON
{
  "error": {
    "code": "ROUTE_EXCLUDED",
    "message": "Every provider that serves this route is on your avoid list (excludeProviders / excludeBridges / excludeExchanges)",
    "requestId": "0d5e1f6a-3b2c-4d1e-8f9a-7b6c5d4e3f21",
    "docsUrl": "https://docs.layerhop.com/errors/ROUTE_EXCLUDED"
  }
}

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

Last updated