EntryPoint Errors
EntryPoint errors are the AA-prefixed revert reasons the ERC-4337 EntryPoint contract returns when it rejects a user operation, and the first digit after AA tells you which step failed: 1 for account deployment, 2 for smart account validation, 3 for paymaster validation, 4 for verification gas, 5 for post-execution accounting and 9 for the bundler's handleOps call.
We have listed all the errors that an ERC 4337 EntryPoint can return.
- AA10 sender already constructed
- AA13 initCode failed or OOG
- AA14 initCode must return sender
- AA15 initCode must create sender
- AA20 account not deployed
- AA21 didn't pay prefund
- AA22 expired or not due
- AA23 reverted
- AA24 signature error
- AA25 invalid account nonce
- AA30 paymaster not deployed
- AA31 paymaster deposit too low
- AA32 paymaster expired or not due
- AA33 reverted
- AA34 signature error
- AA40 over verificationGasLimit
- AA41 too little verificationGas
- AA50 postOp reverted
- AA51 prefund below actualGasCost
- AA90 invalid beneficiary
- AA91 failed send to beneficiary
- AA92 internal call only
- AA93 invalid paymasterAndData
- AA94 gas values overflow
- AA95 out of gas
- AA96 invalid aggregator