Extensive Redact Webooks

Hi there,

In the last 4 hours we have received 150K requests to our Shopify Redact webook which has been overwhelming our system, previous to this we would have a couple a day.

The webhook refers to the same store, however a different customer each time, now I’m aware of

However I can’t see a case where we have this many redact requests for one store? could someone clarify what’s going on?

:wave: Hi @LMB99 thanks for providing specific details via DM so I could dig into this further. It looks like the customer/redact webhooks were indeed valid, a shop deleted a large number of customers which triggered these webhooks. The URL configured in the subscription for shop/redact was responding with an error, which resulted in a large number of retries being generated which added additional load.

It’s important to ensure your endpoint returns a 200 response to avoid additional retries from being sent, as we will retry each webhook up to 8 times over a few hour period. We also recommend doing minimal processing of the webhooks up front and returning a 200 response as quickly as possible. For example this can be done by adding the webhook to a queue for processing and returning a 200 once queued. Alternatively you can make leverage Amazon EventBridge or Google Pub/Sub to handle the receipt of webhooks.

1 Like