What the error means
Error Code: ExceededAmountSlippageTolerance. Error Number: 6003. / Error Code: ExceededBinSlippageTolerance. Error Number: 6004.
The pool price moved before your transaction ran. 6003 means the amount would fill outside your slippage; 6004 means the active bin moved further than your bin tolerance.
| Where it comes from | Meteora DLMM program |
| Code | 6003 (0x1773) and 6004 (0x1774) |
How to fix it
- Raise slippage, or the bin tolerance when adding liquidity.
- Trade or add a smaller amount.
- Retry with a fresh quote; DLMM fees and bins move quickly in volatile periods.
If that is not it
- If the pool lacks liquidity in your direction, the error is PairInsufficientLiquidity (6012).
More fixes: how to decode any Solana error code and why Solana transactions fail.
Source
Error text and code from Meteora DLMM IDL (MeteoraAg/dlmm-sdk), read on 24 October 2026.
