Skip to content

Error handling

Real-world automation has to cope with flaky networks, rate limits, and transient failures. Orvanta provides several mechanisms so a single failure doesn’t have to mean a failed run.

Any node can declare a retry policy. On failure, Orvanta re-runs the node up to the configured limit with an optional backoff between attempts.

SettingDescription
Max attemptsHow many times to retry before the node is considered failed.
BackoffFixed or exponential delay between attempts.
Retry onRestrict retries to specific exit codes or error classes.

A node is only marked failed once its retries are exhausted.

Each node can set a maximum duration. If it exceeds the timeout, the node is cancelled and treated as a failure (which then triggers any retry policy).

Instead of failing the whole run, route failures down a dedicated edge:

Node A ──success──→ Node B
└─error────→ Cleanup / Notify

This lets you compensate, clean up, or alert without aborting the workflow.

A workflow can define a run-level error handler — a node (or sub-workflow) that runs whenever any node fails and is not otherwise handled. Use it to send a notification, open an incident, or record the failure.

Pair error handling with a notification channel (email, Slack, or webhook) so the right people hear about failures that need human attention.