What the error means
Error Code: ExceededSlippage. Error Message: Exceeds desired slippage limit / AMM v4: custom program error: 0x1e (Exceeded desired slippage limit.)
A swap or deposit on a Raydium CPMM or AMM v4 pool would fill worse than your slippage limit because the pool moved first.
| Where it comes from | Raydium CPMM and AMM v4 programs |
| Code | CPMM 6005 (0x1775); AMM v4 30 (0x1e) |
How to fix it
- Raise slippage slightly or reduce the trade size.
- Raise the priority fee to land earlier.
- Retry with a fresh quote.
If that is not it
- On CLMM pools, the equivalent is "Price slippage check" (6017).
More fixes: how to decode any Solana error code and why Solana transactions fail.
Source
Error text and code from Raydium CPMM error definitions (raydium-io/raydium-cp-swap); Raydium AMM v4 error definitions (raydium-io/raydium-amm), read on 24 October 2026.

