Error codes / Jupiter Aggregator v4
Jupiter Aggregator v4 error codes
Every custom error code published by Jupiter Aggregator v4, with what it means and what to do about it.
JUP4Fb2cqiRUcaTHdrPC8h2gNsA2ETXiPDD33WcGuJB
- 6000 · 0x1770EmptyRoute
Empty route
- 6001 · 0x1771SlippageToleranceExceeded
The swap would have paid out less than the minimum this transaction allowed. The price moved between the moment the quote was taken and the moment the transaction executed, by more than the slippage tolerance set in the swap.
- 6002 · 0x1772InvalidCalculation
Invalid calculation
- 6003 · 0x1773MissingPlatformFeeAccount
Missing platform fee account
- 6004 · 0x1774InvalidSlippage
The swap would have paid out less than the minimum this transaction allowed. The price moved between the moment the quote was taken and the moment the transaction executed, by more than the slippage tolerance set in the swap.
- 6005 · 0x1775NotEnoughPercent
Not enough percent to 100
- 6006 · 0x1776InAmountsStackIsEmpty
In amounts stack is empty
- 6007 · 0x1777OutAmountsStackIsEmpty
Out amounts stack is empty
- 6008 · 0x1778NotEnoughAccountKeys
The account does not hold enough of the token or SOL this instruction tried to spend.
- 6009 · 0x1779NonZeroMinimumOutAmountNotSupported
Non zero minimum out amount not supported