Slot skipped, or missing in long-term storage (-32009)
Last updated:
At a glance
| Property | Value |
|---|---|
| Code | -32009 |
| Message | Slot skipped, or missing in long-term storage |
| Category | block |
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
- Enumerate available slots with `getBlocks` before requesting one.
- Query an archival node for deep history.
- 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.
- What is RPC error -32009?
- -32009 means: Slot skipped, or missing in long-term storage. 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.