Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
Hi there,
We have a custom webhook and it keeps getting deleted with no warning or messages that I am aware of.
If the webhook is failing intermittently, it would be great to see a log or get some kind of notification about that.
It has been completely deleted twice now, and resulted in bunch of manual operational work & heartache.
Thanks
In general, webhook subscriptions should only be automatically deleted after an individual webhook delivery fails 20 times over a 48 hour period. You should receive two emails during that process: A warning email when repeated failures are detected on the subscription, and a deletion email when the subscription is actually deleted.
If you haven't received those emails we'd be happy to look into this further, but we'll need a bit more information. In particular, it would be helpful to know your best estimate of when the subscriptions were deleted and the endpoint URL the subscriptions had. You can post that information in this thread if you're comfortable doing so, but you can also DM them to me directly if you'd prefer.
armurray | Developer @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
I can confirm two things:
A 204 is fine-- the webhook delivery service will treat any 200-level response as a success.
I would like to investigate this further to see what the problem is. Would you mind sharing the destination URL or shop_id? You can post it in this thread or DM it to me.
armurray | Developer @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hi there, were you able to resolve this issue? We are experiencing something very similar where the webhook gets deleted with out any warnings
@armurray i´m having the same problem, we always return 200 code but we still seeing webhooks removed every week. what can we do to avoid this?
Hi there, was your problem ever resolved? We are getting the same issue of our webhook getting deleted every Sunday. Any help would be appreciated.
Hi, I'm also getting the same issue. I've created a Webhook on order creation but It's getting removed automatically every Sunday Is your issue get resolved?
Hello. do you still have the same issue? @Mariyakorotko ?
i´m having the same problem.
Hello all,
Were you able to solve the issue? I am having the same problem with webhooks for "order creation" getting deleted every week.
Same problem here: orders/updated gets deleted after about a week without any reason and without any email notice.
orders/create und orders/fulfilled are not being deleted (fortunately!)
Webhook is created via settings > notifications
Worked for about 2 years without any problems but this behaviour startet at the beginning of june for us.