Skip to content
LogoLogo

Bundler Error Codes

Bundler error codes are the JSON-RPC error codes, standardized in EIP-7769, that an ERC-4337 bundler returns when it rejects a user operation, such as -32500 when EntryPoint validation fails or -32521 when execution reverts.

The bundler implements the EIP-7769 spec which standardizes ERC-4337 bundler error codes across different bundler implementations.

EIP-7769 Error Codes

Error CodeDescription
-32602Invalid UserOperation struct/fields
-32500Rejected by EntryPoint contract's simulateValidation
-32501Rejected by paymaster contract's validatePaymasterUserOp
-32502Violation of ERC-7562 opcode validation rules
-32503UserOperation out of time-range
-32504Paymaster throttled or banned by ERC-7562 reputation rules
-32505Paymaster stake or unstake-delay too low
-32507Wallet signature check failed
-32508Paymaster balance insufficient for pending UserOperations
-32521UserOperation execution reverted

Standard JSON-RPC Error Codes

Error CodeDescription
-32603Internal error - indicates an internal failure in the bundler