Closed nullndr closed 3 months ago
Hi @nullndr, thank you for reporting this. This should be documented, but have you tried removing the webhook config code from the app? These two ways of configuring webhooks don't de-duplicate automatically.
Hi @matteodepalo,
This should be documented, but have you tried removing the webhook config code from the app?
I have
These two ways of configuring webhooks don't de-duplicate automatically.
I am talking about already existing webhooks subscriptions, I have like ~4200 merchants that have already their webhooks subscription on GraphQL
Hi @nullndr I found where a warning for this is documented https://shopify.dev/docs/apps/build/webhooks/subscribe#app-specific-subscriptions
Basically, if you want to have overlap and not miss webhooks, you should allow for some duplicates in your code and delete the existing webhook subscriptions after having deployed the config changes.
We are closing this issue because we did not hear back regarding additional details we needed to resolve this issue. If the issue persists and you are able to provide the missing clarification we need, you can respond here or create a new issue.
We appreciate your understanding as we try to manage our number of open issues.
I am trying to migrate the webhooks registration process inside my app to the new declarative webhooks method.
With my suprise, webhooks are being triggered twice, it does not look like the new method register the topic on Graphql, so there is it and the already existing webhook subscription registration on Graphql that trigger the same webhook.