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?
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?