RPC error -32009: Slot skipped, or missing in long-term storage

Last updated:

At a glance

Error details
PropertyValue
Code-32009
MessageSlot skipped, or missing in long-term storage
Categoryblock

Cause

The slot is absent from long-term (warehouse) storage — it was skipped, or the historical record for that slot is not present in the queried archive.

Solution

  1. Enumerate available slots with getBlocks before requesting one.
  2. Query an archival node for deep history.
  3. Skip permanently-missing slots in your indexing logic.

Example

{
  "id": 1,
  "error": {
    "code": -32009,
    "message": "Slot 123456789 was skipped, or missing in long-term storage"
  },
  "jsonrpc": "2.0"
}

FAQ

Why does "Slot skipped, or missing in long-term storage" happen?
The slot is absent from long-term (warehouse) storage — it was skipped, or the historical record for that slot is not present in the queried archive.
How do I fix "Slot skipped, or missing in long-term storage"?
Enumerate available slots with getBlocks before requesting one. Query an archival node for deep history. Skip permanently-missing slots in your indexing logic.