Skip to main content
TLDR:
  • HTTP 4xx = a problem with your request (auth, payload size, rate limit). HTTP 5xx = a problem on the server side; the same client request might succeed on retry.
  • WebSocket close code 1006 is a transport-level disconnect — your code must reconnect.
  • JSON-RPC error codes follow the JSON-RPC 2.0 spec; -32000 is a node-implementation error and the message tells you what’s wrong.

HTTP status codes

WebSocket close codes

JSON-RPC error codes

These follow the JSON-RPC 2.0 specification. The node returns them inside the response body even when the HTTP status is 200.

Common -32000 messages

See also

Last modified on July 18, 2026