I have a Shopify app (listed on Shopify Partners) that merchants can install. The app is subscribed to product update webhooks through AWS EventBridge.
For some merchants, I’m not receiving the webhook events. I set up a test merchant store and was able to reproduce the issue. However, this does not happen for all merchants.
What’s the best way to debug this issue? Are there any common scenarios where product update webhooks might not trigger or be delivered?
Hi @furrl-manjeet
Is there any commonality for stores that you’re not receiving webhooks on?
Hi LIam, I noticed that the app has been installed and uninstalled multiple times by some stores. Could this be causing an issue? My assumption is that as long as the app is currently installed, the events should still come through.
Hey @furrl-manjeet, when your app is re-installed, is the new webhook subscription being created? The reason I ask is it would be cancelled on uninstallation.
You can confirm that with a query to the current subscriptions:
Hey @furrl-manjeet, checking to see if the above helped at all?
This indeed was the problem. I had implemented a cron job which syncs the webhook subscription, but for some reason it was broken. fixing it solved the issue. Thanks for hint!
1 Like
Awesome, thanks for confirming that resolved it! Have an awesome rest of your week.