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.

Problem with Webhooks subscriptions

Problem with Webhooks subscriptions

Ragavendar-Rao
New Member
4 0 0

I created a shopify app using Ruby. I subscribed 14 topic/webhook from my shopify app. Sometimes shopify shows I subscribed only 7 webhooks. sometimes it shows 6 or 4. I get this count by using shopify API -> https://site.myshopify.com/admin/api/2020-04/webhooks/count.json? What is the reason for this issue?

Reply 1 (1)

SBD_
Shopify Staff
1831 273 423

Hey @Ragavendar-Rao,

 

Webhooks will be automatically removed if they consistently fail (more😞

 

Shopify has implemented a five second timeout period and a retry period for subscriptions. Shopify waits five seconds for a response to each request to a webhook. If there is no response, or an error is returned, then Shopify retries the connection 19 times over the next 48 hours. If there are 19 consecutive failures, then the webhook subscription is deleted. A warning that the subscription will be deleted is sent to the app's emergency developer email address.

Could this be the issue?

Scott | Developer Advocate @ Shopify