Instruction errors (runtime)

DuplicateAccountIndex

Appears as instruction contains duplicate accounts

Instruction

DuplicateAccountIndex

“instruction contains duplicate accounts”

The same account appears more than once where that is not allowed.

Common causes

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

How to fix it

  • Check the program logs for the instruction index that failed and verify the accounts passed to it.

Decode another error

Try: