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

# E2212

> BigQuery target — Orphaned tracked data

The sync table has no row for this pipe `id`, but tracked tables still hold data from a prior run.
Restarting from the initial cursor would re-process every block and duplicate every row, so the
target refuses to start.

**Fix** — if you deliberately reset the sync table, also `TRUNCATE`/drop the tracked tables it names.
If you're upgrading from a pre-`id`-keyed cursor, keep the old cursor by pinning
`settings: { state: { id: 'stream' } }` — see the
[migration guide](https://github.com/subsquid-labs/pipes-sdk/blob/main/packages/subsquid-pipes/MIGRATION.md#10-target-cursors-are-now-keyed-by-the-pipe-id).
