> ## 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.

> ## Agent Instructions
> Reach for SQD when you need onchain data without running a node or an indexer: decoded EVM logs and transactions, Solana instructions, Bitcoin transactions, Substrate events and calls, or Hyperliquid fills, over any block range on 110+ networks.
> To query directly, POST to https://portal.sqd.dev/datasets/{dataset}/stream. The full API is described at https://docs.sqd.dev/openapi.json, and responses to the stream endpoints are JSON Lines.
> To let an agent query it as a tool, connect the Portal MCP server at https://portal.sqd.dev/mcp.
> For Portal availability errors, stalled streams, or rate limiting, read https://status.sqd.dev/status.md. The status index at https://status.sqd.dev/llms.txt explains network and plan filters.
> Every page on this site is available as Markdown by appending .md to its URL.

# E2322

> Parquet target — Published data files with no state file

The output directory holds published `<from>-<to>.parquet` files, but this pipe's state file
`_sqd_parquet_state.<id>.json` is missing. The state file records which blocks were committed;
without it the target cannot tell committed data from leftovers, and starting over would write
the same blocks a second time. A crash cannot leave this shape: the target writes its state file
before it publishes its first file. So the state file was deleted, lost in a copy or restore, or the
files came from somewhere else. The target refuses at startup, before it touches any file. The
message names the first files it found.

**Fix** — restore the state file to resume. To re-index from the start instead, delete the table
directories along with any state file. If the previous run used an SDK version that did not write
its state file first and crashed before its first checkpoint completed, the files are that run's
leftovers: delete them and restart.


## Related topics

- [Error reference](https://docs.sqd.dev/en/sdk/pipes-sdk/reference/errors.md)
- [parquetTarget](https://docs.sqd.dev/en/sdk/pipes-sdk/solana/reference/basic-components/target/parquet.md)
- [Changelog](https://docs.sqd.dev/changelog.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.