Ferro Protocol
Search
K

Troubleshooting

Common errors that you may encounter

Issues on the Swap Page

INSUFFICIENT_OUTPUT_AMOUNT

You're trying to swap tokens, but your slippage tolerance is too low or liquidity is too low.
Solution
Reason
  1. 1.
    Refresh your page and try again later.
  2. 2.
    Try trading a smaller amount at one time.
  3. 3.
    Increase your slippage tolerance:
    1. 1.
      Tap the settings icon on the liquidity page.
    2. 2.
      Increase your slippage tolerance a little and try again.
  4. 4.
    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 that cannot be sold. In this case, VVS isn't able to block a token or return funds.

INSUFFICIENT_A_AMOUNT or 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.
Solution
Reason
Refresh your page and try again, or try again later.
Still doesn't work?
  1. 1.
    Tap the settings icon on the liquidity page.
  2. 2.
    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.

FerroRouter: EXPIRED

The transaction cannot succeed due to error: FerroRouter: 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.

Transaction cannot succeed

Try trading a smaller amount, or increase slippage tolerance via the settings icon and try again. This is caused by low liquidity.

Price Impact too High

Try trading a smaller amount, or increase slippage tolerance via the settings icon and try again. This is caused by low liquidity.

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.
Solution
Reason
Try manually increasing the gas limit (not gas price!) in your wallet before signing the transaction.
A limit of 200000-250000 is usually enough.
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.

Other issues

Provider Error

Provider Error No provider was found
This happens when you try to connect via a browser extension like MetaMask or Crypto.com Extension, but you haven’t installed the extension.
Solution
Install the official browser extension to connect, or read our guide on connecting a wallet.

Unsupported Chain ID

Switch your chain to Cronos Chain. Check your wallet's documentation for a guide if you need help.

Internal JSON-RPC errors

"MetaMask - RPC Error: Internal JSON-RPC error. estimateGas failed removeLiquidityETHWithPermitSupportingFeeOnTransferTokens estimateGas failed removeLiquidityETHWithPermit "
Happens when trying to remove liquidity on some tokens via Metamask. Root cause is still unknown. Try using an alternative wallet.
Internal JSON-RPC error. { "code": -32000, "message": "insufficient funds for transfer" } - Please try again.
You don't have enough CRO to pay for the transaction fees. You need more native CRO in your wallet.

Error: [ethjs-query]

Error: [ethjs-query] while formatting outputs from RPC '{"value":{"code":-32603,"data":{"code":-32000,"message":"transaction underpriced"}}}"
Increase the gas limit for the transaction in your wallet. Check your wallet's documentation to learn how to increase gas limit.
Swap failed: Error: [ethjs-query] while formatting outputs from RPC '{"value":{"code":-32603,"data":{"code":-32603,"message":"handle request error"}}}'
Cause unclear. Try these steps before trying again:
  1. 1.
    Increase gas limit
  2. 2.
    Increase slippage
  3. 3.
    Clear cache

If you still have a problem

Contact us on Telegram or Discord and we will do our best to get back to you.