Tx Doctor / EVM error library / ERC-20 allowance too low

EVM · token

EVM error: ERC-20 allowance too low

The router or contract was not approved to spend that many of your tokens, so the transferFrom call reverted.

Why it happens

How to fix it

  1. Approve the exact contract that is being called — copy the spender address from the failing transaction.
  2. Approve the exact amount, or use Permit2 / permit signatures where the dApp supports them.
  3. For USDT, approve 0 first, then approve the new amount.

What it looks like in the wallet or explorer

ERC20: insufficient allowance

Seeing this right now? Paste the transaction hash — the tool finds the chain and decodes what actually failed.

Diagnose my transaction

Related errors

Contract paused, frozen or blacklisted

EVM · token

Swap deadline expired

EVM · DEX

ERC-20 transfer exceeds balance

EVM · token

Slippage exceeded on a swap

EVM · DEX