Tx Doctor / Solana error library / Invalid calculation in the route

Custom 60020x1772

Solana error: Invalid calculation in the route (0x1772)

The program's internal math rejected the route - usually a tiny amount, an extreme price impact, or a pool with almost no liquidity.

Why it happens

How to fix it

  1. Increase the trade size above dust, or use a different pair.
  2. Re-quote and retry immediately so the route matches current pool state.
  3. Raise slippage slightly if the pool is volatile.

What it looks like in the logs

Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: custom program error: 0x1772

Seeing this error right now? Paste your transaction signature and get the exact instruction, program and code that failed.

Diagnose my transaction

Related Solana errors

Custom program error (unknown code)

Custom ...

Invalid input or output index

Custom 6006

Invalid slippage value

Custom 6004

Missing platform fee account

Custom 6003