Shopify shop update webhook firing non-stop for a shop

While looking at request time usage by Shopify domains I noticed we have a shop that is taking up 7% of request time. When looking into that Shop it hasn't used the app in 6 months but the logs show that the shopifyShop update webhook is being triggered every few seconds. This Shop is an extreme outlier which makes me think this could be a bug but I'm not sure. The app is evnbttr-webhooks.gadget.app A recent trace ID 1d749e2e51a04b7758918228192dde20
7 Replies
Chocci_Milk
Chocci_Milk2mo ago
Hello, If webhooks are being fired and your Gadget application isn't the one making the changes, its possible that its an external application causing issues. We don't make mutations on your apps behalf (other than webhook registration which doesn't cause webhooks). I think that your best course of action would be to uninstall your app from that store. Here's how to do so: - go to the installs page - find the store - click the 3 dots to the right - hit uninstall You can also call the Shopify API endpoint for this yourself if you'd like: https://shopify.dev/docs/apps/build/authentication-authorization/app-installation/uninstall-app-api-request
Mark Dev
Mark DevOP2mo ago
Thanks, I compared the webhookPayload and the only thing that is changing is the updatedAt timestamp. Would the better solution be to add the includeFields to the shopifyShop.update action and exclude updated_at? If we do that does that mean the updated timestamp will not change anymore or does Gadget still update that field?
Chocci_Milk
Chocci_Milk2mo ago
I would definitely not recommend excluding the updatedAt field. There must be something in Shopify’s end that keeps being updated. Have you reached out to them for insights?
Mark Dev
Mark DevOP2mo ago
I haven't. I ended up uninstalling that store but I will reach out to them if it happens again. The Gadget docs recommend excluding updated_at when using includeFields. https://docs.gadget.dev/guides/plugins/shopify/shopify-webhooks#excluding-the-updated_at-field
evidanary
evidanary2mo ago
we ran in to the same issue and we uninstalled the store. They easily caused over $40 in overage fess for us. @Mark Dev how did you inspect the payload to find what changed?
Mark Dev
Mark DevOP2mo ago
This dispatching webhook Gadget log has the webhookPayload. I compared a bunch of those
No description
Gizmo
Gizmo4d ago
Do you like this answer? ​

Did you find this page helpful?