All selectors

OpenZeppelin 5

0xfb8f41b2: ERC20InsufficientAllowance

error ERC20InsufficientAllowance(address,uint256,uint256)

What it means

A transaction that reverts with the raw data 0xfb8f41b2 hit the custom error ERC20InsufficientAllowance, defined in OpenZeppelin 5. The explorer shows the hex because it does not have the contract's ABI to translate it.

The spender contract is not approved to move this much of the token. The error data carries the spender, its current allowance, and the amount it needed.

How to fix it

Approve the token for the spender, for at least the amount in the transaction, then retry. The most common cause of a first swap or stake failing.

Want the exact answer for your transaction?

Paste the hash and we decode the revert against the contract itself, including the values inside the error, free.

Decode my transaction

Every selector on this page was computed as the first 4 bytes of keccak256 of the signature shown. A selector identifies a signature exactly; on rare occasions two different signatures share one, so the transaction decoder is always the more precise answer.