"Slippage tolerance exceeded" on Solana: what it means and how to fix it
Jupiter error 6001 (0x1771) means the price moved past your minimum, so the swap was refused. Your tokens are safe. Here is how to retry without overpaying.
· 2 min read
When you swap on Solana, your wallet doesn't just say "swap 1 SOL". It says "swap 1 SOL, and give me at least this many tokens". That floor comes from the quote you saw, minus your slippage setting. If the price moves before the swap runs and the pool would give you less than the floor, the program refuses and the whole transaction is rolled back.
How it shows up
- Jupiter:
SlippageToleranceExceeded, error number 6001, written in the logs ascustom program error: 0x1771. - Meteora DAMM v2:
ExceededSlippage, error 6002 (0x1772). - Raydium AMM v4 logs its own check just before failing, with the amount the swap would have given and your minimum.
- Jupiter also has
ExactOutAmountNotMatched(6017) for swaps where you fixed the amount you receive.
Are my funds safe?
Yes. A refused swap moves no tokens. You paid the network fee for the attempt (usually a fraction of a cent, more if a priority fee was added) and nothing else. See why failed transactions still charge a fee.
How to fix it
- Get a fresh quote and try again. On fast-moving tokens, a quote can be stale within seconds.
- If it keeps failing, raise slippage a little. Jupiter's own guidance is to use dynamic slippage or a higher fixed value.
- Don't jump to a huge number. Slippage is the most you agree to lose to price movement, and bots can take that whole margin from you.
When Rektopsy can read both amounts from the logs, it shows how far below your minimum the trade came. Its suggested slippage follows a fixed rule: double your current setting, at least 0.5% and at most 3%. It is labelled "suggested, not simulated" because nobody can promise the next price.
Why does it happen so often?
Popular tokens trade many times per block, and bots compete for the same pools. A swap that waits in line for a second or two can easily see a different price. That is the system working as designed: without the minimum, you would get whatever price was left.
Quick answers
What does Jupiter error 6001 mean?
SlippageToleranceExceeded: the swap would have returned less than the minimum you set, so the program refused it. No tokens moved.
What is 0x1771 on Solana?
It is 6001 in hexadecimal. On Jupiter's program it means SlippageToleranceExceeded.
Should I set slippage to 50% so it always goes through?
No. Slippage is the most you agree to lose to price movement. A very high setting invites bots to trade against you and take that margin.