# Report and diagnose explicit errors

Use Error nodes for retained workspace reports and open the exact originating execution without rerunning it.

Canonical URL: https://opennodeflow.dev/wiki/errors/
JSON reference: https://opennodeflow.dev/wiki/errors/index.json
Source snapshot: 2026-10-23

The Errors page is a searchable view of explicit Error-node reports in the selected workspace. It does not automatically mirror every failed node or every console error line. Use it to collect deliberate diagnostics that operators should find without browsing every run.

## Add an Error report

Insert Error from the picker or Library. Connect the value you want to report: text, an error object, a structured diagnostic payload or an array. Add a control connection when the report should depend on a specific branch.

Keep diagnostic payloads small and useful. Include stable correlation identifiers, the failed stage and a sanitised message. Do not include authorization headers, full provider responses, credentials or unnecessary user data. Known-secret redaction is a backstop, not permission to log secrets.

Each executed Error node creates a report bound to that run and executable node path. Skipped nodes create no report. Repeated attempts at the same run/path do not duplicate it, while collection items retain distinct deterministic paths.

Reporting an error **does not itself fail the workflow**. Choose subsequent control flow deliberately. If a branch must remain failed, retain the appropriate failure/throw behavior rather than assuming the report operation changes run status.

## Inspect the originating run

The newest reports show captured workflow, executed trigger, reporting node and time, plus a preview of the value. Search narrows the list. Click a row to open that exact retained run in the evaluator.

Inspect the report node's recorded inputs, upstream outputs, attempts and logs. The run snapshot explains which definition pins and configuration executed. Renaming the current graph later does not rewrite the names captured in a report. Retained history can still open through the historical evaluator after its workflow is deleted.

Opening a report is inspection. It does not replay the triggering event, rerun a provider request or resubmit an agent turn. A focused Ask AI action prepares a question for read-only help; review and send it explicitly.

## Handled failures and reporting

A custom node's wired control output with ID `error` can select a handled error route after its attempts are exhausted. Its ordinary data outputs are empty. A downstream reporter should depend on the control route and read `context.errors` or a separately assembled diagnostic value instead of requiring data from the failed source.

A handled error path may let the overall run succeed. An unhandled failure remains a failed run even when another branch produced a useful report. Check the actual overall status instead of inferring it from the presence or absence of an Error report.

## Retention

Reports belong to retained runs and are removed with them under the current maximum seven-day terminal-history policy. Unfinished runs keep their diagnostic records. They are not a permanent external incident archive.

For durable business incidents beyond execution retention, deliberately write a scoped [storage record](/wiki/storage/) or use a documented external logging integration. Keep replay and publication separate from diagnostic inspection.

---

## Documentation provenance

- `docs/ERRORS.md`
- `docs/WORKFLOWS.md`
- `docs/AUTHORING.md`

This page describes maintained source, not a live inventory or an authorization to perform actions.
