Tx Doctor / Solana error library / Exceeded amount slippage tolerance
Solana error: Exceeded amount slippage tolerance (0x1773)
The total output of the swap fell below your minimum, or the required input rose above your maximum. The ordinary slippage rejection, measured on the whole trade rather than per price step.
Why it happens
- DLMM fills bin by bin, and each bin has its own price, so a large trade walks the price down in visible steps and can overshoot your limit.
- Liquidity is concentrated in a few bins; once those are consumed the price jumps to the next populated bin.
- The quote was taken before a burst of activity in the same direction.
- Your minimum was computed on the mid price rather than on the expected fill including price impact.
How to fix it
- Re-quote and retry; DLMM pools change shape quickly as LPs move ranges.
- Raise tolerance one step, but keep it tight on bin pools — a 5% tolerance on a wide-bin pool can be a genuinely bad fill.
- Reduce the size so the trade stays within one or two bins.
- Use the SDK's quote, which simulates the bin walk, instead of computing output from reserves.
What it looks like in the logs
Program LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo failed: custom program error: 0x1773 RPC simulation: Transaction simulation failed: Error processing Instruction: custom program error: 0x1773 Wallet UI: "Transaction failed" — custom program error 0x1773 (6003)
One failure, three places it shows up: the raw transaction log, the RPC simulation error, and the wallet's short message. Match on the code, never on the wording.
The same number means something else on another program
Anchor assigns custom error codes by enum order starting at 6000, so this number is local to this program. The rows below show what the very same number means on the other programs.
| Program | 0x1773 = 6003 |
|---|---|
| Jupiter | Missing platform fee account |
| Raydium CPMM | InvalidInput |
| Pump.fun | Too little SOL received to sell |
| Orca | Tick array index out of bounds |
| Raydium CLMM | Position not empty — cannot close |
| Meteora AMM | Fee calculation failure |
| Raydium LaunchLab | Input does not match curve config |
What this means for your funds
Solana transactions are atomic: if any instruction fails, every state change in that transaction is reverted, so token balances end exactly where they started. The network fee is still charged, because validators did the work of executing and rejecting it. A failed transaction never moves your tokens to someone else.
Seeing this error right now? Paste your transaction signature and get the exact instruction, program and code that failed.
Diagnose my transactionRelated Solana errors
Exceeded slippage tolerance
Meteora AMM 6004 (0x1774)
Exceeded bin slippage tolerance
Meteora DLMM 6004 (0x1774)
Insufficient out amount
Meteora DLMM 6039 (0x1797)
Swapped amount is exceeded max swapped amount
Meteora DLMM 6053 (0x17a5)
Price slippage check
Raydium CLMM 6017 (0x1781)
Too little output received
Raydium CLMM 6018 (0x1782)