Skip to content

Troubleshooting

Diagnose common RPC authentication, rate-limit, consistency, log, and WebSocket issues.

Find the error or symptom you see, then work through its checks in order. Each entry names the likely cause first. If the checks do not resolve the issue, contact support with the details listed in Need support.

401 Unauthorized

The request is missing a valid API key, the Authorization header is malformed, or the route-token URL does not include a valid key.

  1. Confirm the key was created for the organization that owns RPC access and includes RPC.
  2. For header auth, confirm the header is exactly Authorization: Bearer <GRAPHOPS_API_KEY>.
  3. For route-token auth, confirm the endpoint ends with /<GRAPHOPS_API_KEY> after the EVM chain ID or Bitcoin network name.
  4. Confirm the key has not been revoked or rotated.
  5. Confirm you send a query key, which starts with gqk_. RPC refuses a service account API key (gsk_) with the code api_key_class_not_allowed.
  6. Remove extra quotes, whitespace, or the literal string Bearer from secret-manager values.
  7. Use Authentication to compare header and route-token formats.

403 Forbidden

The key is valid, but GraphOps refuses the request. The response code names the reason.

  1. credits_exhausted: the organization has no credits left. Add credits in Billing to bring the balance above zero. Access is restored automatically. To avoid a repeat, turn on automatic top-ups.
  2. api_key_route_not_allowed: confirm the endpoint host and path match Authentication.
  3. api_key_target_not_allowed: the key's RPC access is limited and does not include the network in the endpoint you call. Call an allowed network, or add this one to the key's limits. On the MCP server, any network limit refuses every request: use a key without one.
  4. api_key_origin_not_allowed or api_key_origin_required: the key limits RPC to allowed origins. For a browser request, confirm one matches the page's origin exactly, including its scheme and port, such as http://localhost:3000. A server, script, or curl request sends no origin, so use a key whose RPC access has no allowed origins there instead.
  5. usage_access_paused, organization_disabled, or api_key_disabled: GraphOps support paused the organization or disabled the key. Adding credits does not restore access. Contact support in the GraphOps Platform(opens in a new tab), or create a new key if only the key is disabled.

413 with rpc_batch_too_large

A JSON-RPC batch has more calls than your organization's batch size limit. GraphOps refused the whole batch, so none of its calls ran or used credits. Over WebSocket, the same refusal arrives as a JSON-RPC error with id: null and error.data.code rpc_batch_too_large.

  1. Split the calls into smaller batches.
  2. Send single requests where a batch is not needed. Single requests do not count against the batch limit.
  3. Request a limit increase through support in the GraphOps Platform(opens in a new tab).

429 Too Many Requests

Check the response code. If it is websocket_connection_limit_exceeded, see WebSocket limit errors.

request_rate_limited means your organization sent HTTPS requests faster than its request rate limit allows. The limit counts every API key in the organization. The refused request did not run and used no credits.

  1. Wait for the seconds in the Retry-After header, or retryAfterSeconds in the body, then retry.
  2. If the retry is refused again, back off exponentially with jitter.
  3. Reduce the number of requests each worker has in flight, and move historical backfills to fewer workers.
  4. Combine calls into batches where it fits your workload. A batch counts as one request.
  5. If steady traffic needs more, request a higher limit through support in the GraphOps Platform(opens in a new tab).

See Request rate for the limit and its response headers.

Timeouts or large eth_getLogs failures

The log query is too broad, the response is too large, or the archive read takes longer than the request timeout.

  1. Reduce the block range.
  2. Filter by contract address and topic whenever possible.
  3. Persist progress and backfill in deterministic block chunks.
  4. Avoid retrying the same broad range repeatedly.
  5. Use WebSocket logs subscriptions for live logs and eth_getLogs for backfill.

Inconsistent results across requests

Separate latest reads can observe different blocks as the chain advances.

  1. Read a block number or block hash first.
  2. Pass that explicit block reference to subsequent state reads.
  3. Use safe or finalized when the workflow can accept additional latency.
  4. Avoid mixing latest reads with historical reads in the same consistency-sensitive workflow.
  5. Use Consistency and finality for the repeatable-read pattern.

method not found

The request method name is misspelled, sent to the wrong endpoint, or is outside the standard Ethereum-compatible method set for the selected network.

  1. Confirm the method name uses the exact eth_*, net_*, or web3_* casing.
  2. Confirm the request is sent to an RPC endpoint, not the platform REST API.
  3. Confirm the method is listed in Supported methods.
  4. For WebSocket subscriptions, confirm the method is eth_subscribe and the endpoint is a WebSocket URL.

Transaction submission errors

Transaction errors usually come from EVM validation or mempool policy rather than from GraphOps itself.

  1. Confirm the transaction was signed for the same chain ID as the endpoint.
  2. Confirm the sender has enough funds for value plus gas.
  3. Poll eth_getTransactionReceipt when the same transaction hash may already be known.
  4. Use Send a raw transaction for nonce, replacement, and retry guidance.

WebSocket authentication fails

The WebSocket URL is missing the route token, the token is invalid, or the client is trying to use a header-based pattern that it does not support.

  1. Prefer the route-token endpoint: wss://rpc.graphops.xyz/v1/evm/<CHAIN_ID>/<GRAPHOPS_API_KEY>.
  2. Confirm the API key is present after the chain ID and does not include the literal Bearer prefix.
  3. If you use header authentication, confirm the WebSocket client can send custom headers during the handshake.
  4. Redact route-token URLs from logs before sharing diagnostics.
  5. Use Authentication for WebSocket auth patterns and security guidance.

WebSocket limit errors

Your organization has as many WebSocket connections or subscriptions open as its limits allow.

  • websocket_connection_limit_exceeded: the handshake was refused with HTTP 429. Close idle connections, or send more subscriptions over a connection you already have open, then reconnect. A connection that dropped without a clean close holds its slot for up to about a minute.
  • websocket_subscription_limit_exceeded: an eth_subscribe request returned a JSON-RPC error with this value in error.data.code. The connection is still open. If the message says the connection holds the most it can (100), open another connection. Otherwise call eth_unsubscribe for subscriptions you no longer use, then subscribe again.

A connection keeps the limits that applied when it opened. After a limit increase, reconnect to use the new value. See Usage and limits for how each limit is counted.

WebSocket stream gaps

Connections can disconnect, subscriptions can expire, and live streams can miss events while a client is offline.

  1. Store the last processed block or log position.
  2. Reconnect with backoff.
  3. Resubscribe after reconnect.
  4. Backfill missed logs with eth_getLogs.
  5. Deduplicate logs by (blockHash, transactionHash, logIndex).
  6. Use WebSocket subscriptions for the full recovery sequence.

Wallet and signing methods return method not found

Hosted RPC does not custody private keys, so eth_accounts, eth_sendTransaction, eth_sign, and eth_signTransaction are not available. Sign with a wallet, signer service, or local key-management system instead.

  1. Sign transactions in the wallet or application.
  2. Submit signed transactions with eth_sendRawTransaction.
  3. Read account addresses from the wallet or signer, not from the RPC endpoint.

MCP tool call returns isError: true

The tool refused the call or couldn't complete it. The result's error.action says what to do next.

  1. fix_arguments, usually with tool_arguments_invalid: change the argument the message names, such as an eth_getLogs range without hex block numbers, then call again. The same arguments fail the same way.
  2. narrow_request, with upstream_response_too_large: the result is over the tool's size limit. Ask for less, as described on MCP server.
  3. retry_later: retry the same call after a short wait.
  4. stop: contact support with the time of the call and the code.

Need support

When contacting GraphOps support(opens in a new tab), include:

  • Organization name or ID.
  • Network and endpoint.
  • Transport: HTTPS or WebSocket.
  • RPC method.
  • Approximate timestamp.
  • JSON-RPC error object or HTTP status.
  • Block number, block range, or transaction hash if relevant.
  • Whether the request used latest, safe, finalized, or an explicit block reference.

Next steps

Last updated