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 are a few different reasons why this error may appear:

  1. A variable token buy or sell fee. Variable means the token fee can change.

    To determine your tokens fee see our article “How to find a token's fee”.

    The slippage of the swap needs to be higher than the tokens fee. If the token fee increases then you will have to manually increase your swaps slippage.

    To learn how to change a swaps slippage see our article “What is Price Slippage”.

    For example: If the token has a sell fee of 10% then try setting the slippage to 11%, 12%, 13% or 14%.
  1. There may be a browser error. In this case simple troubleshooting steps may clear the issue.

    Start by disconnecting and then reconnecting your wallet.

    Then clear the cookies and the cache of app.uniswap.org in your browser or use a different browser.

    Try to reload the Uniswap web app by doing a hard refresh.
    • For PCs: select Control +Shift +R on your keyboard at the same time.
    • For Macs: select Command + Shift + R on your keyboard at the same time.
    • For Mobile: Follow these instructions.

Finally try restarting your device. If none of these work see the steps 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”.
  1. A non-standard approval function. Some tokens have a different approval process than most 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.
  1. The token is causing a mathematical error. Rebase tokens and fee on transfer tokens have internal math which changes the swaps output. This extra math may interfere with the calculations of the swap.

    Try swapping for even/exact outputs or inputs. Additionally, try playing with the input or output 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.

Updated

Was this article helpful?

/