Troubleshooting JRPC Error Codes
Syndica uses several custom RPC error codes outside those specified by the JRPC standard.
Error Codes
RPC Code | Error | Description | How to Fix |
---|---|---|---|
7700 | Invalid Headers | Headers sent with the request were invalid. | Check that the headers used in the request are valid according to official Solana documentation. |
7701 | Batch Size Exceeded | The batch size limit allowed on your plan has been reached. | Upgrade your plan to increase the batch size. |
7702 | Duplicate Subscription | You are trying to create a subscription that already exists on the same connection (e.g. two slotSubscribe subscriptions with the same parameters). | Ensure that you are using the correct method and parameters. If you need to subscribe to the same method twice, open another WebSocket connection. |
7703 | Subscription Limit Exceeded | The maximum number of subscriptions allowed on a single WebSocket connection has been reached. | Open another WebSocket connection. |
7429 | Rate Limited | The rate limit for a particular method, namespace, etc. has been exceeded. | Upgrade your plan to increase the applicable rate limit. |