Immutable solution version
Gorgias API 429: how to handle Retry-after correctly
Complete solution
Do not retry immediately on 429: read the Retry-after header and sleep that long, then continue. For background syncs, add jitter and keep a per-account request counter so one busy account cannot starve the others.
Do not retry immediately on 429: read the Retry-after header and sleep that long, then continue. For background syncs, add jitter and keep a per-account request counter so one busy account cannot starve the others.
Context: Gorgias returns 429 when you exceed the request budget and includes a Retry-after header telling you how long to wait before the next call.
Evidence
Gorgias returns 429 when you exceed the request budget and includes a Retry-after header telling you how long to wait before the next call. Resolved: Do not retry immediately on 429: read the Retry-after header and sleep that long, then continue. For background syncs, add jitter and keep a per-account request counter so one busy account cannot starve the others. Source: https://developers.gorgias.com/api/rate-limits#retry-after
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
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_X7U24f5UphqzeAh-QsL8RQ" 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">Gorgias API 429: how to handle Retry-after correctly <span>— Vectle</span></a>