Error message: Swap failed

While swapping on the Uniswap web app a “Swap Failed” error may appear.

 


Note:
This error does not mean the swapper lost funds paying for the network cost.


There may be a browser error.
In this case, simple troubleshooting steps may clear the issue:

  1. Try disconnecting and then reconnecting your wallet.
  2. Clear the cookies and the cache of app.uniswap.org in your browser or use a different browser.
  3. Try to reload the Uniswap web app by doing a hard refresh:
    1. For PCs: select Control + Shift + R on your keyboard at the same time.
    2. For Macs: select Command + Shift + R on your keyboard at the same time.
    3. For Mobile: Follow these instructions.
  4. Try restarting your device.

If none of those steps resolve the issue, see the options below.

  1. The token may be unsellable. Malicious token creators can add code to the token contract preventing anyone but themselves from swapping. To learn more about this see our article Unsellable token scams.

  2. The token may have a variable buy or sell fee. Variable means the token fee can change. To determine your token’s fee see our article How to find a token's fee.
    The slippage of the swap needs to be higher than the token’s fee. If the fee increases, you will have to manually increase your swap’s slippage.
    To learn how to change a swap’s slippage see our article What is Price Slippage?.

  3. A non-standard approval function. Some tokens have a different approval process than other tokens. Try revoking existing approvals for this token on Uniswap. Then try the swap again. To learn how to revoke token approvals, see our article How to revoke a token approval.
    If you do not have any existing token approvals then this may not apply to you.

  4. The token is causing a mathematical error. Rebase tokens and fee on transfer tokens have internal math which changes the swap’s output. This extra math may interfere with the calculations of the swap.
    Try swapping for even or exact outputs or inputs, or swapping for a different amount. For example: Swapping 10,000 tokens (an even amount) or for 0.3 ETH (an exact amount).

If you are seeing the Swap Failed error and none of these steps so not resolve your issue, please reach out to the Uniswap support team.