All errors

Solidity panics

panic code 0x21

Also appears as: Panic(33), invalid enum value


What it means

A value was converted into an enum (a fixed list of options) that does not contain it, like passing option 7 where only options 0 to 3 exist. Usually a dapp passing a bad parameter.

How to fix it

Refresh the dapp and retry. If it persists, the front end is sending an invalid option, which is theirs to fix.

Still stuck?

Paste your transaction hash and get the exact decoded reason for your failure, free.

Decode my transaction

For the full walkthrough of why transactions fail, read the complete error guide.