When making a complex call to a Solana RPC Node with the method getProgramAccounts
, you may get an error looking as follows:
{ "jsonrpc":"2.0", "error":{ "code":-32010, "message":"Tokenkeg####### excluded from account secondary indexes; this RPC method unavailable for key" }, "id":1 }
From Solana Github
This error appears if a program is excluded from the secondary indices. [Tokenkeg...] with lots of accounts can be excluded from [getProgramAccounts] by RPC nodes as a consequence.
Additional information is available at the following link.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article