Solana error codes › Jupiter Aggregator v4

Jupiter Aggregator v4 error codes

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

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

HexCodeError
0x17706000EmptyRoute
Empty route
0x17716001SlippageToleranceExceeded
Slippage tolerance exceeded
The name points to a slippage or minimum-output check: the price moved past the limit set in the transaction.
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.
0x17766006InAmountsStackIsEmpty
In amounts stack is empty
0x17776007OutAmountsStackIsEmpty
Out amounts stack is empty
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

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.