Tx Doctor / EVM error library / Safe transfer failed (STF / TF / TransferHelper)

EVM · routerSTF

EVM error: Safe transfer failed (STF / TF / TransferHelper) (STF)

The router could not pull tokens from your wallet. Uniswap-style routers report this as the three-letter code STF (safeTransferFrom failed) or TF, PancakeSwap as TRANSFER_FROM_FAILED — all mean the same thing: balance, allowance or token rules blocked the pull.

Why it happens

How to fix it

  1. Open the token on the explorer and check allowance(spender, router) — approve the exact router the transaction called.
  2. Refresh the balance and rebuild the swap with the amount you actually hold.
  3. For a brand-new token, check whether trading is enabled; a launch-block buy always reverts.
  4. Revoke and re-approve if the allowance shows a non-zero but insufficient value (common with USDT).

What it looks like in the wallet or explorer

execution reverted: STF (Uniswap router: safeTransferFrom failed)

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

Diagnose my transaction

Related errors

Swap deadline expired

EVM · DEX

ERC-20 allowance too low

EVM · token

Slippage exceeded on a swap

EVM · DEX

Contract paused, frozen or blacklisted

EVM · token