Solana error codes › Jupiter Aggregator v6

Jupiter Aggregator v6 error codes

18 error codes defined by Jupiter Aggregator v6 (program ID JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4). In logs they appear as custom program error: 0x… after Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed.

Custom errors start at 6000 (0x1770). If a code is below 6000 and not listed here, see the Anchor framework errors.

Jupiter Aggregator v6: SlippageToleranceExceeded

The output of the swap would be lower than the minimum allowed by your slippage setting, because the price moved between the quote and execution.

What to do: Get a fresh quote and retry. Raising slippage lets the swap go through at a worse price; on thin or fast-moving tokens that difference can be large.

HexCodeError
0x17706000EmptyRoute
Empty route
0x17716001SlippageToleranceExceeded
Slippage tolerance exceeded
The output of the swap would be lower than the minimum allowed by your slippage setting, because the price moved between the quote and execution.
0x17726002InvalidCalculation
Invalid calculation
0x17736003MissingPlatformFeeAccount
Missing platform fee account
0x17746004InvalidSlippage
Invalid slippage
The name points to a slippage or minimum-output check: the price moved past the limit set in the transaction.
0x17756005NotEnoughPercent
Not enough percent to 100
The name points to a balance check: an account holds less than the instruction needs.
0x17766006InvalidInputIndex
Token input index is invalid
0x17776007InvalidOutputIndex
Token output index is invalid
0x17786008NotEnoughAccountKeys
Not Enough Account keys
The name points to a balance check: an account holds less than the instruction needs.
0x17796009NonZeroMinimumOutAmountNotSupported
Non zero minimum out amount not supported
0x177a6010InvalidRoutePlan
Invalid route plan
0x177b6011InvalidReferralAuthority
Invalid referral authority
0x177c6012LedgerTokenAccountDoesNotMatch
Token account doesn't match the ledger
0x177d6013InvalidTokenLedger
Invalid token ledger
0x177e6014IncorrectTokenProgramID
Token program ID is invalid
0x177f6015TokenProgramNotProvided
Token program not provided
0x17806016SwapNotSupported
Swap not supported
0x17816017ExactOutAmountNotMatched
Exact out amount doesn't match

Decode an error

Free, no sign-up, nothing to connect. Works offline from a bundled list; we do not look anything up on-chain.

Swapping a token you do not know? A free Rugsight check shows mint and freeze authority, Token-2022 extensions, holder concentration and liquidity before you trade.

Source: solana-idls@1.2.1. Data: program error lists from published IDLs (solana-idls 1.2.1, MIT) and the System, SPL Token, Token-2022 and Associated Token Account source code, snapshot 2026-11-16. Programs can be upgraded and add or change errors; the failing program's current IDL is the final word.