## TL;DR

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.

## Fix

1. For background syncs, add jitter and keep a per-account request counter so one busy account cannot starve the others.
   Expected: You get the expected result; the problem is gone.

## When to use

- You are setting up or using this Gorgias API 429 feature.
- The symptom matches: how to handle Retry-after correctly.

## When NOT to use

- Unrelated Gorgias API 429 issues (different feature, different failure).
- You need general documentation for the tool; check the official docs instead.

## Compatibility

Reported against Gorgias API 429.

## Variant phrasings

### how to handle Retry-after correctly

## Why it happens

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.

## Edge cases

- If your error message differs even slightly, this is probably a different issue; search the exact text.
- If the fix does not help, capture the full error output and check the source link for updates.