Error Handling
Error Categories
Authentication Errors
UNAUTHENTICATED
Token missing or invalid
Check token is set in metadata
TOKEN_EXPIRED
Token has expired
Obtain new token
INVALID_TOKEN
Token format incorrect
Verify token format
Subscription Limit Errors
SUBSCRIPTION_LIMIT_REACHED
Total subscriptions exceeded
6 total
TRANSACTION_SUBSCRIPTION_LIMIT_REACHED
Transaction streams exceeded
2 max
ACCOUNT_SUBSCRIPTION_LIMIT_REACHED
Account streams exceeded
5 max
SLOT_SUBSCRIPTION_LIMIT_REACHED
Slot streams exceeded
2 max
WALLET_SUBSCRIPTION_LIMIT_REACHED
Wallet streams exceeded
10 max
TOO_MANY_WALLET_ADDRESSES
Addresses in request exceeded
10 per request
TOO_MANY_ACCOUNT_ADDRESSES
Accounts in request exceeded
100 per request
Connection Errors
CONNECTION_ERROR
Failed to establish connection
Check network/server address
CONNECTION_CLOSED
Server closed connection
Reconnect with backoff
CONNECTION_TIMEOUT
Connection timed out
Retry with backoff
STREAM_CLOSED
Stream was terminated
Reconnect
Request Errors
INVALID_REQUEST
Malformed request
Check request format
INVALID_WALLET_ADDRESS
Bad wallet address format
Use valid Base58 address
INVALID_ACCOUNT_ADDRESS
Bad account address format
Use valid Base58 address
EMPTY_WALLET_LIST
No wallets provided
Add at least one wallet
EMPTY_ACCOUNT_LIST
No accounts provided
Add at least one account
Server Errors
INTERNAL
Internal server error
Contact support
UNAVAILABLE
Service unavailable
Retry with backoff
RESOURCE_EXHAUSTED
Server resources exhausted
Retry later