Are you having a ‘TRANSFER_FROM_FAILED’ error on PancakeSwap?
If your answer is YES then look no further as we have you covered.
A lot of PancakeSwap users took to Reddit, Twitter and other social media platforms and complained that they are getting an error while swapping tokens on PancakeSwap.
According to their complaints, whenever they attempt to swap tokens on PancakeSwap, they get an error message that says “The transaction cannot succeed due to error: TransferHelper: TRANSFER_FROM_FAILED”.
There are tons of users who have recently been searching for ways to fix the ‘TRANSFER_FROM_FAILED’ error because it prevents them from swapping tokens that they have in their Cryptocurrency wallet.
If you are here to learn how to fix this PancakeSwap error then don’t fret, we have got you covered.
Without any further ado, let’s get started:
What Does “TRANSFER_FROM_FAILED” mean on PancakeSwap?
The ‘TRANSFER_FROM_FAILED’ error occurs only when you have a scam token in your Cryptocurrency wallet and trying to sell it on PancakeSwap.
Before you buy tokens from any platform, make sure to verify the tokens you are purchasing are 100% legit.
Before you purchase a token, make sure to view its transaction first. If the token is not legit, you would not find anyone selling it.
To view token transactions, you will have to visit a website called Poocoin.
Once you are on the website, you will have to search for the token’s name or address.
Now, you will have to scroll down until you see a tab that says ‘Token tx‘.
When you click on it, you will see the transaction history of the token.
If you don’t find a person selling the token that you are purchasing, it means the token is a scam.
Whenever you try to sell swap or sell scam token on PancakeSwap, you are most likely to encounter the ‘TRANSFER_FROM_FAILED’ error.
This happens due to the contract code which prevents users from transferring tokens to the liquidity provider.
How to Fix “TRANSFER_FROM_FAILED” On PancakeSwap Error
To fix the ‘“TRANSFER_FROM_FAILED” error on PancakeSwap, you need to change the last number on the ‘From (estimated)’ field as shown in the below picture.
The developer can easily fix this issue by simply disabling the “setSwapAndLiquifyEnabled” feature.
If you are not a developer and want to fix this PancakeSwap error then you can fix it by using its Old version (V1).
Since PancakeSwap has been migrated from V1 to V2, a lot of people are having a hard time swapping tokens on it.
If you too are using the latest version of PancakeSwap (V2) then I advise you to switch to V1.
To switch PancakeSwap from V2 to V1 (Old), you simply need to click on the V1 (Old) button located next to V2 as shown in the above picture.
Notably, this method will only work if you are swapping legit tokens on PancakeSwap.
The devs can fix the issue by making changes to the token’s contract address.
If you are a common user then you will have to follow a few simple steps to inform the issue of the developer.
- First, visit BScScan and search for the token that you want to swap on PancakeSwap.
- Once you found the token, you will see multiple tabs such as ‘Transfers’, ‘Holders’, Info’ and others.
- There, you will see yet another tab that says ‘Contract‘.
- Now, click on the Write Contract tab.
- To write features, you will have to connect to Web3.
- When you click on the ‘Connect to Web3’, a pop up will appear on the screen asking you to select a Wallet — MetaMask and WalletConnect.
- Once connected, scroll down and enable the “setSwapAndLiquifyEnabled” feature.
- Once you have successfully enabled it, liquidity will automatically go into the pool and the error ‘TRANSFER_FROM_FAILED’ will be fixed.
- That’s it.
If this method does not work for you then you can apply the following methods to get this error fixed.
Increase Slippage Tolerance
There are some users who reported to have fixed this error by simply increasing their Slippage Tolerance.
Do you know how to increase Slippage Tolerance on PancakeSwap? If not then follow the steps written below:
First, open PancakeSwap.
Click on the Settings icon next to Swap as shown in the above picture.
In a new window, you will have to set Slippage Tolerance to as higher as 49%
Once set, now Swap the desired token and check if the error is fixed.
Swap Lower Amount
If you are not able to swap your tokens at once, try to reduce the number of tokens.
After reducing the number of tokens, try to swap tokens on PancakeSwap.
There are plenty of people who reported to have fixed the “TRANSFER_FROM_FAILED” error by applying this method.
If these methods don’t work for you, there are chances that you have purchased a scam coin.
Once you have purchased a scam coin, you would not be able to sell it or get your money back.
That’s all you need to know about how to fix the “TRANSFER_FROM_FAILED” error on PancakeSwap.