Tx Doctor / Solana error library / Invalid input or output index

Custom 60060x1776

Solana error: Invalid input or output index (0x1776)

The route referenced a token position that does not exist in the account list - a malformed route rather than a market problem.

Why it happens

How to fix it

  1. Re-quote and rebuild the transaction instead of reusing a cached route.
  2. Use the official SDK to construct the swap.
  3. Report the case to the interface if it repeats on a simple swap.

What it looks like in the logs

Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: custom program error: 0x1776

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

Missing platform fee account

Custom 6003

Custom program error (unknown code)

Custom ...

Invalid calculation in the route

Custom 6002

Invalid slippage value

Custom 6004