# UNSUPPORTED_CHAIN

> Unsupported chain: The chain id or slug is not in LayerHop's chain registry, no provider serves it any more, or the route into it is restricted.

Source: https://docs.layerhop.com/errors/UNSUPPORTED_CHAIN

| HTTP status | Retry |
|---|---|
| `400` | no |

**Where it comes from:** `GET /v1/tokens`, `GET /v1/quote`; also mapped from provider errors (for example Relay `CHAIN_DISABLED`).

## Causes

- `srcChain`, `dstChain` or `chain` is not one of the [supported chains](/chains) — for example a testnet id, or a typo in the slug.
- `GET /v1/tokens` was called without `chain`.
- Every provider stopped routing the chain (it is no longer in `GET /v1/chains`).
- `srcChain` is a destination-only chain (Hyperliquid, Blast).
- The destination has an `onlyRoute` and the request doesn't match it: Blast is only reachable from ETH on Ethereum (`error.details.onlyRoute`).

## How to fix

- Use a slug or id from [GET /v1/chains](/api-reference#list-chains). Solana is `solana` or `7565164`.
- Testnets are not supported yet — see the [FAQ](/faq).
- For a route-restricted destination, quote its `onlyRoute` instead (for Blast: `srcChain=ethereum&srcToken=ETH&dstToken=ETH`), or follow `error.details.suggestions`: in live mode it carries one `via_hub` suggestion in two signed steps (to ETH on Ethereum, then the canonical deposit).

## Example response

```json
{
  "error": {
    "code": "UNSUPPORTED_CHAIN",
    "message": "Unsupported chain: avalanche",
    "requestId": "0d5e1f6a-3b2c-4d1e-8f9a-7b6c5d4e3f21",
    "docsUrl": "https://docs.layerhop.com/errors/UNSUPPORTED_CHAIN"
  }
}
```

See [Error handling & retries](/guides/error-handling) for a retry strategy, and the [error catalog](/errors) for every code.
