Instruction errors (runtime)

IllegalOwner

Appears as Provided owner is not allowed

Instruction

IllegalOwner

“Provided owner is not allowed”

The owner program given is not allowed (for example assigning to a sysvar or a non-program).

Common causes

  • The runtime rejected the instruction while enforcing account and program rules.

How to fix it

  • Only valid program ids can own accounts.

Decode another error

Try: