Instruction errors (runtime)

InvalidAccountOwner

Appears as Invalid account owner

Instruction

InvalidAccountOwner

“Invalid account owner”

An account is owned by a program other than the one expected.

Common causes

  • Passing an SPL Token account to Token-2022 or vice versa.
  • Passing an uninitialised (system-owned) account.

How to fix it

  • Check the owner on an explorer and pass the correct program or account.

Decode another error

Try: