Shopify · api · fg-0336

Shopify webhooks silently stop arriving after the endpoint was slow or down for a few hours

If you see webhookSubscriptions no longer lists a topic your app created at install, the cause and the fix for Shopify are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
webhookSubscriptions no longer lists a topic your app created at installWarning emails to the emergency developer address about failing deliveriesOrders processed twice when a slow handler finished after Shopify retried
Cause
Shopify treats no answer within five seconds as a failure, retries 8 times over 4 hours, and then deletes subscriptions created through the Admin API. Retries also mean the same event can arrive twice.
Fix
Acknowledge with 200 right away and process from a queue, dedupe on X-Shopify-Webhook-Id, and run a reconciliation job. Prefer shopify.app.toml subscriptions, which Shopify does not delete on failure.
Apply
app.post('/webhooks', verifyHmac, async (req, res) => { res.sendStatus(200) const id = req.get('X-Shopify-Webhook-Id') if (await seen(id)) return await queue.add({ id, topic: req.get('X-Shopify-Topic'), body: req.body }) })
Affected
Shop-specific webhook subscriptions created with the Admin API, all versions
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