Zapier · sdk · fg-0370

Custom 429 handling in a Zapier afterResponse never runs because core throws ThrottledError first

If you see The server returned 429 (Too Many Requests), the cause and the fix for Zapier are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
The server returned 429 (Too Many Requests)afterResponse code that inspects 429 responses is skippedSteps retry after a delay instead of failing
Cause
Since 11.2.0 core retries uncaught 429 responses after a delay taken from Retry-After, and a built-in middleware throws ThrottledError before your afterResponse sees the response.
Fix
Let the built-in retry handle 429 and send a Retry-After from your API, or set throwForThrottlingEarly to false on the request to handle it yourself and throw ThrottledError with a delay.
Apply
const res = await z.request({ url, throwForThrottlingEarly: false, skipThrowForStatus: true }); if (res.status === 429) throw new z.errors.ThrottledError('Rate limited', 60);
Affected
zapier-platform-core 11.2.0 and later, as of 2026-10
Sources

Last verified 2026-10-15 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun