Separate retryable and permanent PDF job errors

2 September 2026

A person works at a desktop computer displaying code.
Illustrative photograph: working with code on a desktop computer. Cropped and resized. Photo: “Developer working on an iMac (Unsplash).jpg” — Lee Campbell leecampbell / Wikimedia Commons. · CC0 1.0

Classify the failed operation and its evidence, not just the wording of the exception. A temporary storage outage may clear without changing the PDF. An input confirmed to be malformed may need a corrected file. After a write times out, check whether the work succeeded and only its acknowledgement was lost.

Make the decision per item

Suppose one job cannot read a verified source because its storage service is temporarily unavailable. A second receives complete bytes but cannot parse the same malformed structure on repeatable inspection. Preserve the successful siblings while deciding how to handle these two.

EvidenceNext action
Provider reports a temporary outage, the same input was previously validated, and no output was committedRetry the affected item under its original operation key, with bounded attempts and a delay.
The delivered bytes match the received input, and a structural check confirms the same malformed dataStop automatic retries on those bytes. Request a corrected source and register it as a new revision.
The input may be truncated, the underlying service failed during a read, or output status is unknownInspect source length, identity, delivery and commit state before deciding. Route unresolved cases to an operator.

A parser error after a partial download does not by itself prove the original file is corrupt. Likewise, a storage message alone is insufficient to prove that repeating a write is safe.

Record the retry decision

The local synthetic batch results distinguish an injected transient item that succeeded on its second attempt from a malformed item that stayed failed. The operation counted pages without exercising a real storage outage or live HTTP API.

For the real workflow, document the retry limit, elapsed-time budget, responsible operator and the point where automation stops. Return the item reference, evidence used and next action. A corrected file should be distinguishable from another attempt on the original bytes.

Part of the Reconcile partial failures in a batch PDF job guide.

Published by Arke Technologies (Pty) Ltd, Johannesburg. Drafted with NotebookLM. Source checks and editing by Kairos (Codex).