Troubleshooting Errors
Common error messages. Use the sidebar to jump to the error you're seeing.
Issues on the Exchange
INSUFFICIENT_OUTPUT_AMOUNT
The transaction cannot succeed due to error: PancakeRouter: INSUFFICIENT_OUTPUT_AMOUNT. This is probably an issue with one of the tokens you are swapping.
You're trying to swap tokens, but your slippage tolerance is too low or liquidity is too low.
Refresh your page and try again later.
Try trading a smaller amount at one time.
Increase your slippage tolerance:
Tap the settings icon on the liquidity page.
Increase your slippage tolerance a little and try again.
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.
INSUFFICIENT_A_AMOUNT or INSUFFICIENT_B_AMOUNT
Fail with error 'PancakeRouter: INSUFFICIENT_A_AMOUNT' or Fail with error 'PancakeRouter: INSUFFICIENT_B_AMOUNT'
You're trying to add/remove liquidity from a liquidity pool (LP), but there isn't enough of one of the two tokens in the pair.
Refresh your page and try again, or try again later.
Still doesn't work?
Tap the settings icon on the liquidity page.
Increase your slippage tolerance a little and try again.

The error is caused by trying to add or remove liquidity for a liquidity pool (LP) with an insufficient amount of token A or token B (one of the tokens in the pair).
It might be the case that prices are updating too fast when and your slippage tolerance is too low.


PancakeRouter: EXPIRED
The transaction cannot succeed due to error: PancakeRouter: EXPIRED. This is probably an issue with one of the tokens you are swapping.
Try again, but confirm (sign and broadcast) the transaction as soon as you generate it.
This happened because you started making a transaction, but you didn't sign and broadcast it until it was past the deadline. That means you didn't hit "Confirm" quickly enough.
Pancake: K
The transaction cannot succeed due to error: Pancake: K. This is probably an issue with one of the tokens you are swapping.
Refresh the page and try again, or increase slippage tolerance via the settings icon and try again.
This probably happened because you're trying to buy or sell tokens during a big price movement. The frontend is getting outdated information (e.g. outAmount) from the smart contract, causing the swap to fail.
Issues with PAPER Pools
BEP20: burn amount exceeds balance
Fail with error 'BEP20: burn amount exceeds balance'
You don't have enough PAPER in your wallet to unstake from the PTS-PTS PAPER pool.
Get at least as much PAPER as the amount of PTS that you’re trying to unstake.
Buy PAPER on the exchange. If you want to unstake 100 PTS, you need at least 100 PAPER.
Try unstaking again.
If that still fails, you can perform an “emergencyWithdraw” from the contract directly to unstake your staked tokens.
Click “Connect to Web3” and connect your wallet.
In section “4. emergencyWithdraw”, enter "0" and click “Write”.
This will unstake your staked tokens and lose any uncollected PTS yield.
This will lose any yield that you haven’t harvested yet.
To stop this happening again, don’t sell your PAPER. You still need it to unstake from the “PTS-PTS” pool.
This error has happened because you have sold or transferred PAPER tokens. PAPER is minted in a 1:1 ratio to PTS when you stake in the PTS-PTS PAPER Pool. PAPER must be burned at a 1:1 ratio to PTS when calling leaveStaking (unstaking your PTS from the pool), so if you don't have enough, you can't unstake from the pool.

Out of Gas error
Warning! Error encountered during contract execution [out of gas]
You have set a low gas limit when trying to make a transaction.
Try manually increasing the gas limit (not gas price!) in your wallet before signing the transaction.
A limit of 200000 is usually enough.

The above example is from Metamask; check your wallet's documentation if you aren't sure how to adjust the gas limit.
Basically, your wallet (Metamask, Trust Wallet, etc.) can't finish what it's trying to do.
Your wallet estimates that the gas limit is too low, so the function call runs out of gas before the function call is finished
BEP20: transfer amount exceeds balance
Fail with error 'BEP20: transfer amount exceeds balance'
You're trying to unstake from a Syrup Pool with low rewards in it.
You can perform an “emergencyWithdraw” from the contract directly to unstake your staked tokens.
Find the contract address of the Syrup Pool you're trying to unstake from. You can find it in your wallet's transaction log.
Go to https://bscscan.com/ and in the search bar, enter the contract address.
Select Write Contract.
Click “Connect to Web3” and connect your wallet.

In section “4. emergencyWithdraw”, enter "0" and click “Write”.
This will unstake your staked tokens and lose any uncollected yield.
This will lose any yield that you haven’t harvested yet.
This error tends to appear when you're trying to unstake from an old PAPER Pool, but there aren't enough rewards in the pool left for you to harvest when withdrawing. This causes the transaction to fail.
Last updated
Was this helpful?