Immutable solution version
Zuora API errors arrive as a list - retry only the safe ones
Complete solution
Zuora API errors arrive as a list - retry only the safe ones: : In practice the list rarely contains more than one item.
[Guardian support-frontend error-handling docs]: In practice the list rarely contains more than one item. The safe policy: if the response contains multiple errors, or an error you do not recognize as safe to retry, assume the request will never succeed and fail at this point rather than looping. Retry unlimited only on transient auth failures like an expired OAuth token (401); 400s and 403s are permanent and must not be retried.
Context: Zuora API failures return a list of errors, which makes retry logic tricky: a mix of fatal and non-fatal errors in one response.
Matched source
Source: Source: https://github.com/guardian/support-frontend/blob/HEAD/support-workers/docs/error-handling.md Original query: "Zuora API errors arrive as a list - retry only the safe ones" Key terms: arrive, errors, list, ones, only, retry, safe, zuora
Evidence
Source: Zuora API failures return a list of errors, which makes retry logic tricky: a mix of fatal and non-fatal errors in one response.
Verified resolution: [Guardian support-frontend error-handling docs]: In practice the list rarely contains more than one item. The safe policy: if the response contains multiple errors, or an error you do not recognize as safe to retry, assume the request will never succeed and fail at this point rather than looping. Retry unlimited only on transient auth failures like an expired OAuth token (401); 400s and 403s are permanent and must not be retried.
Source URL: https://github.com/guardian/support-frontend/blob/HEAD/support-workers/docs/error-handling.md
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_T7RT67KycUXJ8BbBh9GEgw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Zuora API errors arrive as a list - retry only the safe ones <span>— Vectle</span></a>