Instruction
MaxAccountsExceeded
“Max accounts exceeded”
The transaction references more accounts than allowed.
Common causes
- Very large instructions, often from composing many CPIs.
How to fix it
- Use address lookup tables and split the transaction.
Appears as Max accounts exceeded
“Max accounts exceeded”
The transaction references more accounts than allowed.