-32502 Opcode Violation

More about the -32502 Opcode Violation error code

The -32502 error code indicates that a user operation was rejected because the sender does a forbidden operation when verifying the signature.

Before submitting user operations to the blockchain, bundlers must make sure user operations don't grief the bundler. One way user operations can grief a bundler is by accessing certain opcodes when checking a signature.

All ERC-4337 bundlers are required to follow these opcode rules, though some can create alternative user operation mempools that relax these rules.

If you receive this error, you may need to modify the smart contracts you are using for your account.