Errors

Check the HTTP status before parsing a response. Data lookup errors on the JSON endpoints return an object with an error message.

Example · HTTP 404

{
  "error": "Record not found in the devnet index."
}

HTTP status codes

400Bad request
Check the address, page size, cursor or requested CSV range.
404Record not found
The requested route or indexed block or transaction does not exist.
405Method not allowed
Use GET, HEAD or OPTIONS.
409Snapshot changed
Restart pagination without the cursor to read the new canonical history.
500Internal error
The explorer failed while processing the request.
502Node read failed
The execution node returned a JSON-RPC error.
503Node unavailable
The index is initializing, the requested network is planned, or the execution node could not serve an account-state read.

Versioned API errors return a JSON error message. HEAD returns headers and an empty body.