Interface Errors and Reconnection Behavior
An interface error can come from input validation, access, a workflow failure, or a disconnected response. Identify the affected stage before asking the user to retry.

Authenticated v2 recovery pattern. If creation timed out before returning an ID, do not assume nothing ran: reconcile the operation before resubmitting, especially when it can change an external system.
Before you begin
The interface error and the related run ID where available.
Key concepts
Timeout
A limit on how long a particular client or operation waits. It does not always establish that execution or an external write stopped.
Streaming
Delivery of incremental events or text while work is running. Updates are not the same as a completed answer.
Run
One execution of a project. Use its run ID to retrieve that execution’s state, input, output, and errors.
Reconciliation
Checking the run or destination to determine whether an uncertain operation completed. Do this before retrying a write after a timeout.
Retry
A repeated attempt after a failed or uncertain operation. It can repeat external changes; use it only when the result is understood.
Recover from an interface error
Check whether the request created a run.
Inspect input errors, access settings, and the run’s failing step.
Restore the connection or correct the cause, then check the original run before resubmitting.
The interface recovers without unnecessarily repeating work.
Behavior and limitations
Reloading a page does not necessarily cancel the active run. Resubmission can repeat provider writes. Display a clear error state rather than keeping a permanent loading indicator. A disconnected stream and a failed workflow are different conditions.
Related resources
Was this helpful?

