Error codes / Raydium AMM V3 (CLMM)
TooLittleOutputReceived
Raydium AMM V3 (CLMM) · Custom(6022) · 0x1786
custom program error: 0x1786
What it means
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.
The program's own message: “Too little output received”
What to do
The error name is the program's own diagnosis. Paste the failed transaction into TxWhy to see which instruction raised it and with which accounts.
TxWhy can repair this one
When the swap was routed through Jupiter, TxWhy replaces only the stale swap instruction with a current quote for the same tokens, amount and slippage tolerance, keeps every other instruction byte for byte, and proves the result passes simulation.
Code 6022 means something else in other programs
Custom codes are private to each program. Check which program actually raised it: it is the innermost failed call, not necessarily the program you called.
- NothingToLockBoop
- UnableToLoadOracleDrift V2
- InvalidSwapOutInputsHeaven DEX
- MathOverflowJupiter DCA
- NoValidSignerPresentMagic Eden V2
- NoValidSignerPresentMetaplex Auction House
- AlreadyVerifiedMetaplex Bubblegum
- CannotFindUsableConfigLineMetaplex Candy Machine
- PriceIsZeroMetaplex Fixed Price Sale
- RemoveNotSupportedMetaplex Hydra
- NonUpdatableCurveMeteora AMM
- InvalidVestingInfoMeteora CP AMM (DAMM V2)