Platform errors
Full node vs archive
RpcNode endpoints are backed by managed full nodes and archive nodes. Calls for the chain tip go to full nodes; calls that need history (old state, ancient receipts, debug and trace methods) are routed to archive nodes automatically, with the same URL and the same plan. A request can still fail when the upstream cannot serve it: a range that is too wide, a timeout, or a method the network does not offer. The messages vary by client.
Causes
- Wide historical eth_getLogs ranges that the node cannot serve in one call.
- The archive nodes of the environment are temporarily unavailable while the request needs history.
- A debug_* or trace_* method that the network does not offer: the method page of the network lists what exists.
- A heavy call that timed out (-32002).
How to fix
- Use latest / recent block tags when you do not need history: it is faster and cheaper.
- Paginate log queries by block window.
- Retry with a pause when the upstream is unavailable (see Upstream unavailable).
- Check the network method page: the method must exist on that network.
Notes
- There is no single RpcNode gateway code for “needs archive”. Failures usually appear as proxied upstream error objects (HTTP 200 with error, or client-specific codes), or as -32002 if the upstream times out.