For the complete documentation index, see llms.txt. This page is also available as Markdown.

Error Handling

Error Categories

Authentication Errors

Error
Description
Action

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

Error
Description
Limit

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

Error
Description
Action

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

Error
Description
Action

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

Error
Description
Action

INTERNAL

Internal server error

Contact support

UNAVAILABLE

Service unavailable

Retry with backoff

RESOURCE_EXHAUSTED

Server resources exhausted

Retry later

Recovery Strategies

Reconnection with Exponential Backoff

Error Type Classification

Monitoring Recommendations

1

Track error frequencies

Alert on unusual patterns.

2

Monitor reconnection rates

High rates indicate infrastructure issues.

3

Log error contexts

Include timestamps and request details.

4

Set up health checks

Verify stream connectivity periodically.

Last updated