> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sqd.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# E0002

> Pipe configuration — Invalid block range

A `range` (on the stream or a decoder) is misconfigured — an inverted range (`from` after `to`), an
invalid date, or a timestamp that can't be resolved to a block. The message names the exact problem.

**Fix** — ensure `from ≤ to` and use a resolvable bound: `'latest'`, a block number (`'12,000,000'`),
an ISO date (`'2024-01-01'`), or a `Date`.
