Troubleshooting
Possible issues you may encounter while trading on sans.finance are discussed here.
Exchange Problems
INSUFFICIENT_OUTPUT_AMOUNT
If your transaction cannot be processed due to the SansRouter: INSUFFICIENT_OUTPUT_AMOUNT error, there is probably a problem with one of the tokens you want to trade.
Your liquidity or slippage tolerance for the token you want to trade may be too low.
Solution:
Refresh the page and try again.
Try trading smaller amounts.
Try again by slightly increasing the Slip Tolerance in Settings.
SansRouter: EXPIRED
If your transaction cannot be processed due to SansRouter: EXPIRED error.
This issue happens because you did not confirm the transaction in your wallet within the timeout period.
Solution:
Try the transaction again and confirm it right away before it takes a long time in your wallet.
SANS: K
If your transaction cannot occur due to SansRouter: K error
This issue occurs when there is a large price difference during your trade because the UI has not yet been updated with the new price.
Solution:
Refresh the page and try again.
Try again by slightly increasing the Slip Tolerance in Settings.
Cannot read property 'toHexString' of undefined
If your action cannot be executed due to Unknown error: "Cannot read property 'toHexString' of undefined".
This error, which can occur during the swap process, was mostly reported by Trust Wallet users.
Solution:
Try again by slightly increasing the Slip Tolerance in Settings.
If that doesn't work, try the transaction again in a different wallet app.
Execution reverted: TransferHelper: TRANSFERFROM_FAILED
If your transaction cannot be executed due to Execution reverted: TransferHelper: TRANSFERFROM_FAILED error.
This issue occurs when there is a problem with your balance or spending authorization during the swap process.
Solution:
Check if you have enough balance for the transaction.
Make sure you allow the contract to spend enough to trade.
INSUFFICIENT_A_AMOUNT or INSUFFICIENT_B_AMOUNT
If your transaction fails due to SansRouter: INSUFFICIENT_A_AMOUNT or SansRouter: INSUFFICIENT_B_AMOUNT error.
This issue is caused by the very rapid change in price for the token pair during liquidation adding or subtracting.
Solution:
Refresh the page and try again.
Try again by slightly increasing the Slip Tolerance in Settings.
Other Problems
Provider Error
Provider Error No provider was found
This issue occurs when the wallet plugin is not installed for your browser.
Solution:
If you are using sans.finance on a computer, install the appropriate wallet plugin for your browser.
Set up a wallet app of your choice for smartphone access.
You can use the Wallet Installation section for installations.
Unsupported Chain ID
It occurs when your wallet is connected to a network other than the Binance Smart Chain network.
Solution:
Change the network you are connected to in your wallet to the Binance Smart Chain network.
Internal JSON-RPC errors
If your transaction fails because of an error like MetaMask - RPC Error: Internal JSON-RPC error. estimateGas failed
This error can occur while removing liquidity using MetaMask wallet and the exact root cause has not been found yet.
Solution:
Retry the transaction with a wallet other than Metamask.
Last updated