Troubleshooting Errors 💡
Common error messages and how to solve them
TRANSFER_FROM_FAILED --> GASLIMIT too low. Raise it to GASLIMIT = 1000000 at least
TRANSFER_FROM_FAILED --> Your BASE token is not approved for trade
INSUFFICIENT_OUTPUT_AMOUNT --> SLIPPAGE too low
TRANSFER_FAILED --> Trading is not enabled. Use WAIT_FOR_OPEN_TRADE parameter after reading wiki
TRANSFER_FAILED --> There is a whitelist
"Sorry, We are unable to locate this TxnHash" --> You don't have enough funds on your wallet to cover fees
... or your node is not working well
You're trying to swap tokens, but your slippage tolerance is too low or liquidity is too low.
- 1.Try trading a smaller amount at one time.
- 2.Increase your slippage tolerance
- 1."SLIPPAGE": "49",
- 2.If it does not work, go to settings.json and put : "UNLIMITEDSLIPPAGE": "true"
- 3.Lastly, try inputting an amount with fewer decimal places.
This usually happens when trading tokens with low liquidity.
That means there isn't enough of one of the tokens you're trying to swap in the Liquidity Pool: it's probably a small-cap token that few people are trading.
However, there's also the chance that you're trying to trade a scam token which cannot be sold. In this case, PancakeSwap isn't able to block a token or return funds.
It can also happen when there are front-run bots moving the price very quickly
--> Be careful !
This can happen when you don't put enough Gas Limit.
Check if you don't have this in your transaction page :
Increase gas limit to 1 million or more
This can happen with tokens with lots of additional fees, like this one :
This can happend when you're trying to buy a token where buying is limited to whitelisted wallets only in the beginning of the sale
There's nothing to do... you cannot buy if you're not on the whitelist