Instruction errors (runtime)

MaxSeedLengthExceeded

Appears as Length of the seed is too long for address generation

Instruction

MaxSeedLengthExceeded

“Length of the seed is too long for address generation”

A PDA seed exceeds 32 bytes, or more than 16 seeds were used.

Common causes

  • Passing a long string or a base58 address string (instead of 32 raw bytes) as a seed.

How to fix it

  • Keep each seed at 32 bytes or fewer; hash longer inputs.

Decode another error

Try: