How to fix Uniswap V2 Transaction Errors

Uniswap Transaction Error Fix

Below are common errors that users face when attempting to exchange from one token to another. These errors usually happen due to the number of tokens you are trying to exchange, the slippage tolerance amount you set, and other common factors.

Error #1: “The transaction cannot succeed due to error: UniswapV2: K. This is probably an issue with one of the tokens you are swapping.”

Using DAI to ETH swap for example.

When swapping 1 token to another, you want to make sure the following conditions are met:

  1. You have enough tokens for the exchange.
  2. You have enough gas or ETH to cover transaction fees.
  3. You set the slippage tolerance amount between 2 and 5.
  4. You properly set the correct number of digits in the From (estimated) field.*

*If an error occurs, try setting a maximum of 2 digits at the right side of the decimal. Example: If the token in the “From” field is set to 1.3451 DAI and you get an error when trying to swap it for ETH, you must adjust the DAI amount to 1.35 or 1.34 for the transaction to go through successfully.

Uniswap Conversion

 

Error #2: “This transaction will not succeed either due to price movement or fee on transfer. Try increasing your slippage tolerance.”

Using DAI to ETH swap for example.

When swapping 1 token to another, you want to make sure the following conditions are met:

1) You have enough tokens for the exchange.
2) You have enough gas or ETH to cover transaction fees.
3) You set the slippage tolerance amount between 2 and 5.*

*The amount of slippage you set will determine if the transaction will go through or not. The higher the slippage rate, the better your chances are for the transaction to go through fast and successfully.

Uniswap Slippage

Received an error that is not listed here? Drop a comment below.

 

10 Replies to “How to fix Uniswap V2 Transaction Errors

  1. Hi,
    Getting this error message when i am trying to sell my XETH tokens.
    “The transaction cannot succeed due to error: undefined. This is probably an issue with one of the tokens you are swapping.”
    Pls help me.

    1. Make sure you have enough gas (ETH) and put the slippage to 2% or more. Increase the slippage until it works. If all fails, try selling xETH with another Token.

  2. I’m trying to transfer $350 worth or REN to HOGE and the cost to just transfer it is $85… wtf is that lmao do idiots actually pay for this???

    1. Yes, people do pay those high fees. That is the downside at the moment when it comes to the Ethereum network. Fees tend to go down when the market slows.

      Before buying on Uniswap, check to see if the token is on another exchange first. Usually cheaper if available on Binance.

  3. Hi

    I am trying to sell safemoon to bnb and get that error in pakecake: k en error with the token you try to swap.

    Also do i need ETH on pakecake for gas fee?

  4. Having this problem for the last couple of days trying to add more VNLA (have bought the same already a week ago).
    “The transaction cannot succeed due to error: undefined. This is probably an issue with one of the tokens you are swapping.”

    Upped my slippage to 2% and have enough ETH for GAS etc…

    No problem with other token however 🙁

  5. Approved and eth got deducted sucess and when I try to swap getting this ” The transaction cannot succeed due to error: undefined. This is probably an issue with one of the tokens you are swapping ” that means eth gone?? 🙄 any solution?? Anyone

    1. There are 2 gas fee transactions you have to pay on tokens that require approval. In your case, you have to pay the Approval (gas) fee, and you will have to pay the Exchange (gas) fee.

      Sounds like you only paid for the Approval fee. If you tried to do an exchange and it didn’t work, you have to increase the slippage rate until it succeeds.

      Make sure you have enough gas (ETH) to complete your transaction.

Leave a Reply

Your email address will not be published. Required fields are marked *