Errors are classified according to cause and effect
A network timeout, a rate limit, an expired OAuth token, an invalid media, and an empty optional search require different responses. A common “failed” message is not sufficient for repair and user decision-making.
In addition, it is assessed whether the result is definitely unknown, clearly not carried out or technically unusable. This distinction prevents duplicate external actions.
- transient: Retry can be safe
- auth: user or reconnect required
- rate_limit: Backoff and later attempt
- media_invalid: Adjust asset
- optional_missing: skip documented
- unknown_external_state: verify first
The recovery policy is fixed before the error
For each action, it is defined how often it can be repeated, which errors can be retried, whether a change of provider is permitted and what the upper cost limit applies. This means that the system does not spontaneously decide on new risks in a state of emergency.
A fallback must be technically equivalent and approved. A stock search is allowed to move from one source to another when license, provenance and relevance are checked. A publication may not run silently through another account or channel.
A broken single channel remains isolated
A multi-channel job consists of independent contributions with common precursors. If X denies a permission, Instagram and Pinterest can still be ready. The overall status then becomes PARTIAL or DEGRADED instead of SUCCESS or complete FAILURE.
Common security errors are different. An incorrect workspace, a lack of overall approval or an exceeded credit limit stops all dependent steps.
Repairs must remain visible as a result
Completion counts normal successes, auto-repaired steps, optional skips, and blockers separately. For every repair, the first error, the strategy used and the final result remain traceable.
This transparency has practical benefits: If fallbacks accumulate at a provider, this is an operational problem. If optional music is regularly skipped, perhaps the workflow should schedule without music by default.
Test known faults specifically
Self-healing cannot only be proven through happy path tests. A production gate simulates at least the known error classes and checks whether the status, costs and follow-up actions are correct.
- 429 with Retry-After
- empty stock search with qualified fallback
- no suitable optional piece of music
- missing mandatory medium for a channel
- individual provider degraded
- OAuth reconnect required
- unclear external publishing status without double attempt
FAQ
Is an auto-repaired run SUCCESS?
It can be technically completed, but should show the repair separately. A neutral final status with visible recovery is more honest than an undifferentiated green.
When is a provider fallback safe?
If the action is repeatable, the external result is clearly not carried out, the replacement is released and is technically and legally qualified.
