Skip to main content
A run that waits, fails, or comes back with odd numbers looks worse than it is. Darpan keeps the evidence on the run page: the step it stopped at, the full error, and a way to try again without re-reading everything. Find your symptom below and work through the checks.

A run has not started

Scheduled runs and their retries, audit plays, Retry from last read, and finding re-checks wait in one queue: up to 8 run at once, 5 per tenant, with tenants taking turns. While the instance is short of memory, no new run starts until memory frees up. A waiting run starts on its own. Check:
  • On an audit page, Run health shows a waiting run as Queued, and Running now counts how many are running and queued.
  • Your tenant has no more than 50 runs waiting. Past that, a new run is refused with: “This tenant already has N runs waiting for a slot; try again once some have started.” Wait for some to start, then ask again.

A run refuses to start

An archived or switched-off run refuses to start, from the app and from a schedule alike. The error says which:
  • “Run ‘name’ is archived. Ask a Darpan admin to restore it.”
  • “Run ‘name’ is disabled. Ask a Darpan admin to enable it.”
  • For a lifecycle run: “Run ‘id’ is archived.” or “Run ‘id’ is switched off.”
The app has no control to restore or re-enable a saved run, so ask a Darpan admin. Over the API, facade.ReconciliationFacadeServices.restore#SavedRun brings back an archived run and enable#SavedRun a disabled one. In a lifecycle run, a question shows Not run when a question above it failed or was switched off. Fix the question above, then run again. See Lifecycle runs.

Failed run

Open the run. To find it, open Ask Darpan, search by the run name or output file name, and select Open Result: …. Runs that failed since the last completed run are also grouped under Needs Attention in run history. Check:
  • The error on the run page. It shows the full error text, and Run steps marks the step that failed.
  • Source inputs were present.
  • Schema or rule set selection was valid.
  • Connection records were reachable. See Connections.
When the cause is fixed, or was transient, choose Retry from step. The retry is a new run over the same window that reuses what the failed run already read, so a long extract is not repeated. Darpan refuses the retry, and you run it again instead, when:
  • “Saved run was edited after run id started, so its extracts no longer answer the same question; run it again instead.”
  • “Run id did not finish reading either side, so there is nothing to retry from; run it again instead.”
A run that failed or was cancelled after writing its result file shows a Failed or Cancelled badge on that result, in run history and on the run page’s latest result, so it does not read as a clean result. A scheduled run whose source read fails ends failed and is retried. It does not report the window as having no data, so an empty result means the source had nothing to read.

A result cannot be shown

The result page, Download saved result and the CSV download refuse a result file that was cut off or cannot be read, rather than show part of it as the whole result. The message names the file and the problem: Each starts with “Generated output ‘file’ cannot be shown:”. Run the saved run again to write a complete result. Before 3.6.1 these files failed with a raw parse error.

A side cannot be filtered

A run fails before it reads anything, and the error starts with the side and its system, for example “File 2 (OMS_GQL) cannot be filtered: …”. Darpan stops here on purpose. Comparing the side without its filters would report records you chose to leave out. Every run applies a side’s filters, yours and the ones its source sets aside by itself, after the read and before the compare. That works only when the side has a key and its records are the extract’s top-level records. A scheduled run that fails this way is not retried, because a retry would fail the same way. Fix the setup, then let the next scheduled run go or start it from the automation.

Verification pass skipped

The Verifying differences step can say a side was not looked up:
  • “Verification pass skipped for side: N of M records are reported missing there, above the P% a lookup is for. The read or the pairing needs fixing; nothing was looked up.” P is 5 unless the source’s connector sets its own. Only an audit’s checks skip this way.
  • “Verification pass skipped for side: the run did not say how many records were checked against it, so N missing difference(s) were not looked up.”
A lookup is for the few records an export missed. When many are reported missing, the read or the key is wrong, and a record-by-record lookup would hide that. Check that both sides read the same days and that the primary IDs hold the same values, then run again. The reported differences stay as found. Any other run, manual or scheduled, looks every one of them up and says so in a note instead: “Verification pass: the read left N of M records missing in side, above the P% a read should leave; all were looked up. The read or the pairing needs fixing.” The result is corrected by the lookups; the note says the read itself should have covered those records.

Wrong window or setup, mid-run

A run started against the wrong window or setup does not have to finish. Choose Cancel run and confirm. The run ends at its next checkpoint (a stage boundary, or a progress tick during a long paged read) and finishes as cancelled; work completed so far is discarded. See Stopping a run.

Zero or too few matches

If zero matches followed a file upload issue (encoding, leading zeros, or delimiter), check File upload first. Check:
  • Join keys are populated in both sources.
  • Identifiers use the same formatting.
  • The selected schema reads the intended columns.
  • Both sides cover the same business period. Month to Date reads the 1st of yesterday’s month through yesterday, so a run started on the 1st reads the whole previous month.
  • Repeated keys. A key that repeats on either side is left out of the compare on both sides, so its records, and the other side’s record for it, count under Duplicated rather than as matches.
  • Blank keys. A record with an empty key is left out of the compare; the run’s warning says how many. If a source legitimately has several rows per key, use a composite matching key. If the repeats are expected, for example one return record per resolution, a conclusion rule with the outcome Hide can explain them: hidden repeated-key rows leave the difference count, and the run’s repeated-key warning goes away once every repeat is hidden. A repeat no rule explains still warns.

Difference count is higher than expected

The difference count adds three things: records missing from one side, rule differences (value mismatches on matched records), and duplicate records. A run with no missing records can still have a non-zero count. See How differences are counted.

Unexpected differences

Classify each difference before changing configuration:
  • Source data issue
  • Schema parsing issue
  • Mapping or normalization issue
  • Rule classification issue
  • Repeated key (a duplicate finding for the side it repeats on)
  • Expected business variance