Error codes / Raydium AMM V3 (CLMM)
TooMuchInputPaid
Raydium AMM V3 (CLMM) · Custom(6023) · 0x1787
custom program error: 0x1787
What it means
The swap would have paid out less than the minimum this transaction allowed (or cost more than its maximum). 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 much input paid”
What to do
Get a fresh quote and resend with the same tolerance; the price has moved on. Widen the tolerance only if it keeps failing on a fast-moving token, and know that a wide tolerance is what sandwich bots feed on.
Have the transaction that failed with this?
Paste its signature. TxWhy shows the exact instruction and inner call that raised the error, and rebuilds the transaction when the cause is one it can fix (compute limit, expired blockhash, priority fee, a stale swap quote or a moved limit).
Code 6023 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.
- OperatorAlreadyAddedBoop
- PriceBandsBreachedDrift V2
- InvalidPostFeeAmountHeaven DEX
- AddressMismatchJupiter DCA
- InvalidBasisPointsMagic Eden V2
- InvalidBasisPointsMetaplex Auction House
- AlreadyUnverifiedMetaplex Bubblegum
- InvalidStringMetaplex Candy Machine
- FunderIsInvalidMetaplex Fixed Price Sale
- RemoveSharesMustBeZeroMetaplex Hydra
- MisMatchedCurveMeteora AMM
- InsufficientLiquidityMeteora CP AMM (DAMM V2)