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:

  1. Refresh the page and try again.

  2. Try trading smaller amounts.

  3. 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:

  1. Refresh the page and try again.

  2. 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:

  1. Try again by slightly increasing the Slip Tolerance in Settings.

  2. 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:

  1. Check if you have enough balance for the transaction.

  2. 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:

  1. Refresh the page and try again.

  2. 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:

  1. If you are using sans.finance on a computer, install the appropriate wallet plugin for your browser.

  2. 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