Ultimate

X_STORAGE_RANGE_UNSATISFIABLE

Means

the requested byte range starts past the end of the object

Typical cause

get(key, { range: [first, last] }) named a first byte at or past the object's size — an empty object has no byte to start at

Fix

await disk.get(key, { range: [0, size - 1] }) # any first byte below the size; an empty object: await disk.get(key)

Listed under Storage

This page as markdown