capabilities.work

Rerun a Failed Snapshot and Monitor It

A 3-step recipe with Bright Data. We can help you get access.

Recipe · 3 steps

Rerun a Failed Snapshot and Monitor It

Check a snapshot, rerun it when not ready, and poll the new snapshot.

  1. Read the progress of the existing snapshot. A failed or cancelled status means the snapshot should be rerun.
  2. Rerun the snapshot, producing a new snapshot id that reprocesses the original inputs.
  3. Poll the rerun snapshot until it reaches a terminal status. A ready status means the rerun produced rows.
What you'll need to have ready
  • apiToken: Bright Data API token used as a Bearer credential.
  • snapshotId: Identifier of the existing snapshot to inspect and rerun.
For your developer

Arazzo workflow bright-data:rerun-and-monitor-snapshot, 3 operations: getScrapeProgress → rerunSnapshot → getScrapeProgress. Specs on APIs.io.