> ## Documentation Index
> Fetch the complete documentation index at: https://pond.dflow.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Error Codes

> Understanding and resolving error codes

## General HTTP errors

| Code | Title               | When it happens                     | How to fix                                                                         |
| ---- | ------------------- | ----------------------------------- | ---------------------------------------------------------------------------------- |
| 429  | Rate limit exceeded | Too many requests in a short window | Retry with backoff, reduce request rate, or use an [API key](/get-started/api-key) |

## Trading API

### `route_not_found`

This error is most common in two situations:

1. **Incorrect `amount` units.** The `amount` parameter is the `inputMint`
   amount in atomic units (scaled by decimals). If you pass standard
   (human-readable) units (for example `8` instead of `8_000_000`), the router will not find a viable route.

2. **No available route.** The router found no viable route between `inputMint`
   and `outputMint`. This can happen for illiquid pairs or when the trade size
   exceeds available liquidity. Try a smaller amount or a different pair.

### `price_impact_too_high`

The effective price during routing is worse than the allowed threshold. If unspecified, the server determines the default. To set your own threshold, pass [`priceImpactTolerancePct`](/resources/trading-api/order/order#parameter-price-impact-tolerance-pct).
