There are several common reasons why a swap might fail:
Slippage Tolerance Too Low
If your slippage tolerance is set too low, minor price changes during the transaction could prevent the swap from going through.
Low Liquidity in the Order Book 📉
The token pair you're trying to swap might have low liquidity, meaning there aren’t enough buy or sell orders to fulfill your swap.
Low Volume: The token pair may have insufficient market activity.
Large Order Size: Your swap might be too large for the available liquidity.
Price Impact
A large swap can move the market price significantly, causing the swap to fail if it exceeds your set slippage tolerance.
Technical Issues with Providers
Technical issues with providers such as ICPSwap or ICDex may also cause swaps to fail.