Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

My webhook keeps being removed???

My webhook keeps being removed???

paintingdiamond
Visitor
3 0 0

Hi there,

I have added a notification webhook to integrate with other software on order creation. This works for a short time period, then I check back to Shopify, and the webhook has been removed. I've tested and demonstrated this atleast 5 times, and I don't know why this keeps being removed.

Replies 7 (7)

paintingdiamond
Visitor
3 0 0

I should add, I've tried going through Shopify support who keep insisting I post here, although - it's quite clearly a shopify bug. I'm making it known in a public forum that i'm totally unimpressed in the support provided by Shopify. 

mikedasilva
Shopify Staff (Retired)
61 7 13

Hi @paintingdiamond 

 

It's hard to say exactly what's going on with your experience without knowing more information however in general, webhook subscriptions will be removed in these cases

  1. you delete the subscription (in the admin for merchant webhooks or through the api for an app webhook subscription)
  2. you make a change to the app scopes and the app no longer has the required scope for the topic you had a subscription to (ex: read_orders gets removed from the app config then you'll no longer be able to get orders/create webhooks)
  3. you are not responding with a success 200 response when we deliver the webhooks and therefore we've reached our maximum failed retries (see https://shopify.dev/apps/webhooks/configuring#frequency-of-retries)

Do you think any of these cases apply to what you're seeing?

Mike

To learn more visit the Shopify Help Center or the Community Blog.

Helen_Wild
Shopify Partner
4 0 0

Hi

 

Our app gets these type of notifications ( Your webhook has been removed ).

 

Our app works perfect but… does Shopify ‘punish’ this with lower rankings in the App Store?

 

thanks!

devkai
Shopify Partner
8 0 7

I have the same problem, @mikedasilva I think you getting it wrong. 
I registred an "order update" webhook via the settings/notifications. The webhook triggers for a few days hundreds of orders and then without any reason the registered webhook is removed from the store.
Also I have a "order create" webhook registered that is not removed and works fine for ever.
How can I find out the reason why a registered webhook is deleted?

regards Kai

emale
Shopify Partner
5 0 0

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.

devkai
Shopify Partner
8 0 7

Shopify support noticed that I responded with 404 on some webhooks that tried to update an order that did not exist on my backend. For anything that is not a 200 response, Shopify retries 19 times and deletes the webhook after 48 hours.  

emale
Shopify Partner
5 0 0

Yes, I read about that.

But my script, that receives the data always returns a 200 response (except there's en empty request body...but will also return a 200 response from now on in that case).