AI DevelopmentMethodology7 min readPublished September 5, 2026

AI Tool Errors: Which Failures Need a Human Decision

Classify AI tool failures by the decision they require. A reference for fixing inputs, inspecting state, waiting safely and asking an authorized owner.

DA
Digital Applied Team
Research and practical implementation
PublishedSeptember 5, 2026
Sources readSeptember 7, 2026

An AI tool error should send work to the person or process that can resolve it. A malformed date may need a correction; a refused permission may need an owner’s decision. Treating both as “try again” wastes time and can turn a recoverable problem into an unauthorized action.

Route the response to repair, inspection, a decision or a bounded wait. The response supplies evidence; the task’s scope and the destination’s actual state determine what may happen next.

Key takeaways
  1. 01
    Classify the decision.A repairable input, an unknown outcome and a permission refusal need different responses.
  2. 02
    Keep partial success.Record successful items before deciding what can safely resume.
  3. 03
    Escalate with a choice.Tell the owner what is blocked, what already happened and which decision unlocks progress.
  4. 04
    Give every route an end condition.Verified completion, a preserved partial result, an explicit decision request or a documented stop; a retry loop without one has no finish line.

01 — ReferenceChoose the next route

Start with the most specific trustworthy response available. The group names describe the next kind of work, not severity. A case can move from inspect to decide once the missing evidence is recovered. Apply the table only within the permissions and budget already granted.

Digital Applied editorial classification, reviewed September 7, 2026; source anchors linked in the next section.
Response and routeEvidence to inspectRecommended next step
Repair: Missing or malformed inputCompare required fields, rejected values and documented formatsFill from verified context or correct the representation without changing meaning. Ask when the intended value is unknown.
Repair: Unsupported file typeCheck accepted formats and conversion lossesConvert only if the requested content survives; otherwise offer an alternative.
Repair: Wrong object identifierResolve the identifier against the authorized targetCorrect only a verified mismatch; ambiguous recipients require a decision, not a similar-name substitution.
Inspect: Version conflictRead the current object and proposed changeDetermine whether a safe merge exists before resubmitting.
Inspect: Unmet preconditionIdentify the condition that no longer holdsRefresh the prerequisite; do not remove the protection to force success.
Inspect: Empty resultCheck filters, access scope and expected existenceTreat no matches as data until evidence establishes a failure.
Inspect: Partial batch resultList successful, failed and unknown items separatelyContinue only from item-level outcomes; do not repeat the whole batch.
Inspect: Missing completion receiptLook up the operation or destination stateKeep completion unknown until corroborated; avoid duplicate side effects.
Decide: Access refusedRead the refusal and current authorizationAsk the authorized owner if access should change; do not widen it automatically.
Decide: Expired loginDetermine whether reauthentication is requiredRequest reconnection when needed; then verify whether earlier work completed.
Decide: Spending limit reachedIdentify the approved ceiling and remaining workOffer reduced scope or request an explicit budget decision.
Decide: Business rule blocks actionPreserve the violated conditionAsk for a permitted alternative; a technical workaround is not authorization.
Wait: Documented rate limitRead the service’s retry timing and task deadlineWait within the existing run budget; escalate if the deadline becomes impossible.
Wait: Temporary unavailabilityCheck service guidance and operation statusUse bounded recovery only where repeating the action is known to be safe.
Wait: Job still processingFind a valid job identifier and next status checkTrack the existing job; a pending result does not justify creating another.

02 — The evidenceWhat the standards actually establish

RFC 9110 distinguishes access refusal, resource-state conflict and failed preconditions. A 403 response should not be automatically repeated with the same credentials. A 409 can require resolving a state conflict. Those meanings do not establish that every occurrence needs a human.

RFC 9457 provides a structured format for API problem details. Its type identifier and defined extensions are more suitable for machine routing than parsing the human-readable detail sentence. Our four routes are a synthesis layered above those protocol concepts.

An application may use a different error format or put domain failures inside an otherwise successful response. Inspect its documented contract. Do not infer the meaning of a vendor-specific code merely because its wording resembles an HTTP status.

03 — The distinctionSeparate failure from an unknown outcome

Imagine an illustrative agent exporting a set of approved documents. The connection drops after the destination starts processing. The agent has evidence of a communication failure, but no evidence that the export failed. Its next useful action is a read-only lookup of the job or destination, not another export request.

Save the operation identifier, attempted target, last confirmed state and any completed item identifiers. If no lookup is possible, report the uncertainty plainly: the request may have completed, and repeating it may create another copy. The owner can then choose whether waiting or reconciliation is appropriate.

This is a different problem from choosing a backoff interval. Our long-running tool-call guide covers keeping track of an ongoing call; this table determines what its response means for the task.

04 — EscalationGive the owner a decision they can make

A useful escalation names the blocked action, the relevant constraint and the available choices. “The approved spending ceiling is reached; the remaining files are untouched. Reduce the scope or approve a revised ceiling” is actionable. “The tool failed” leaves the owner to reconstruct the whole run.

Include evidence without copying secrets or a full diagnostic dump into the conversation. Preserve a reference to the restricted log if someone needs deeper investigation. The owner needs the reason and consequences, not every implementation detail.

Do not make the owner approve corrections already covered by the request. Reformatting an unambiguous date is ordinary execution. Choosing which of two clients the date belongs to changes the target. The distinction follows the ask-versus-guess decision rubric.

05 — Apply itAdd recovery rules to one real workflow

Choose a workflow with a clear destination and list its actual failure responses. Map each to the table, then record the evidence that permits recovery. Where the mapping is unknown, leave it unresolved until the tool contract or a controlled test supplies the missing information.

Give every recovery route an end condition: verified completion, a preserved partial result, an explicit decision request or a documented stop. “Keep trying” has no useful completion boundary. The background-work cancellation guide explains what to check when the run must end.

Methodology

Original editorial classification informed by inspected primary sources.

What was collected
Response cases grouped by repair, inspection, decision and bounded waiting.
As-of date
Sources inspected and classification assembled September 7, 2026. The article is dated September 5; this is not a claim of collection on that date.
Sources and evidence
RFC 9110 defines response semantics; RFC 9457 defines structured problem details. The four recovery routes and application-level cases are editorial recommendations.
Exclusions and gaps
No vendor census, model ranking, live experiment or prevalence estimate. UNVERIFIED means the required evidence was not inspected. Not applicable means the property is outside the agreed task.
Limitations and updates
Use the tool’s documented contract for vendor-specific codes. Revisit the routing when that contract changes.
Refresh
Review when the source standards or architecture change.

06 — The failure caseFour retries that made things worse

The table’s four routes exist because the reflex response to a tool error, try again, is the wrong one for three of the four groups. The illustrative cases below are each a plausible agent applying that reflex. They are patterns the rows describe, not observed incidents.

1
The duplicate export
Should have been: inspect

A connection drops after the destination starts processing. The agent reads the timeout as failure and exports again, and the recipient receives two copies. A read-only lookup of the job would have shown the first completed.

Look up the job
2
The refused credential, repeated
Should have been: decide

A 403 is retried on a schedule with the same credentials, which RFC 9110 says a client should not automatically repeat. The only output is a log of identical refusals. The owner had to be asked about a different authority.

Ask the owner
3
The silent partial
Should have been: inspect

A batch of fifty fails at item thirty-one. The agent reports the batch as failed and reruns all fifty, so the first thirty exist twice. Kept item identifiers would have started the rerun at thirty-one.

Keep completed ids
4
The reconstruction
Should have been: decide

The escalation says the tool failed and nothing else, so the owner spends an hour rebuilding what the run did before deciding anything. What is blocked, what happened and which decision unlocks progress is the hour saved.

Escalate with a choice

In each case the evidence needed to pick the right route was available or recoverable: the response itself, a job lookup or the item-level results. What was missing was a rule that read that evidence before acting.

The sentence to remove from agent instructions

“Keep trying until it works.” It has no completion boundary, it repeats refusals that should not be repeated automatically, and it can turn an unknown outcome into a duplicated one. Replace it with a route per response class and an end condition per route.

07 — The recordWhat a recovery record should hold

Every route in the table depends on evidence the agent has to have saved before the error, which is why the recovery record is the practical heart of the reference. Seven fields cover the cases above: the operation identifier the tool returned, the attempted target, the last confirmed state, the identifiers of items already completed, the response class as the tool’s own contract defines it, the route chosen, and the end condition that closes the route.

An illustrative record for an interrupted export reads: job reference as returned by the destination; target folder and recipient; last confirmed state, processing started; completed items, none confirmed; response, transport timeout with no status body; route, inspect by read-only job lookup; end condition, lookup shows complete, or lookup unavailable and the owner is asked whether to wait or reconcile. The record is short, and it is the escalation message if one is needed: the owner reads what happened and what is being asked without a diagnostic dump.

The record also keeps secrets out of the conversation. It holds a reference to the restricted log rather than its contents, as the escalation section asks, and it names the tool’s documented contract for the response class rather than guessing from wording that resembles an HTTP status. Build it once for the workflow chosen in the apply section, and the recovery rules have somewhere to write their evidence.

08 — DecisionWhat to do next

Choose the workflow with the clearest destination, list the responses it can actually return, and write the seven-field record for one of them. Mapping that response to a route with an end condition is a small piece of work, and the mapping is reviewable in a way that a general instruction to persist is not.

Practical decision

Recover from the meaning of the response.

Start with the failures your workflow can actually return. A small set of explicit recovery rules is easier to review than a general instruction to persist until success.

For implementation support, explore our AI transformation services.

Build reliable AI workflows

Turn a promising workflow into work you can verify.

Digital Applied helps teams define acceptance checks, connect the right tools and make AI work reviewable.

Clear scopeReviewable resultsPractical implementation
Implementation

From evidence to operation

  • →Define the decision and its limits
  • →Choose the appropriate tool access
  • →Verify results before delivery
Questions and answers

Common questions

No. A documented refresh within existing authorization may be routine. Changing access or selecting a different authority requires an authorized decision.
Digital Applied newsletter

Deep dives on AI, marketing and development.

Practical guides and fresh insights by email. No recycled takes.