Transaction & RPC errors

TooManyAccountLocks

Appears as Transaction locks too many accounts

Transaction

TooManyAccountLocks

“Transaction locks too many accounts”

The transaction references more accounts than the per-transaction lock limit (64 accounts).

Common causes

  • Composing many instructions or large swaps with dozens of accounts.

How to fix it

  • Use address lookup tables (versioned transactions) or split the work across transactions.

Decode another error

Try: