-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Declarative webhook not triggers #4666
Comments
Same Same but different issue here. Situation: Problem This is our shopify.app.toml:
This is our web.app.toml (I dont know why it should be like this, or if i forget something)
This is our package.json (maybe important because of versions)
|
Hi! Sorry for the late response. This answer may help: https://community.shopify.dev/t/app-uninstalled-webhook-inconsistently-subscribed-fired/685?u=zzooeeyy |
Please confirm that you have:
In which of these areas are you experiencing a problem?
App
Expected behavior
App/uninstalled webhook fires.
Actual behavior
App/uninstalled webhook doesn't fire.
Verbose output
Hello Guys,
We are using declarative webhooks to register webhook endpoints.
This is a great feature which saves us a lots of time and we don't have to bother the webshop's webhooks management.
However We have experienced the app/uninstalled webhook not triggers, only just sometimes.
Here is the toml file what we are using.
All of the other webhooks have fired as expected.
I have also get the registered webhooks via API but it returns an empty array.
https://.myshopify.com/admin/api/2024-10/webhooks.json
So I assume the declarative webhooks are different things as the normal webhook registrations.
I have dig deep into the Shopify CLI source code but I couldn't find where the issue can be.
I have checked the ngrok logs and I see all of the webhooks endpoint have been called, only the app/uninstalled is missing.
We have an another application which runs in production 2.5 years long, and we manage the shop's webhooks registration with API calls and it works fine.
I have seen not the same but sort of part of the issue here allready:
Shopify/shopify-app-template-remix#818
There are couple of suggestions to 'shopify app deploy -- --reset' and so on.
My problem is we are almost ready and want to be launched the application.
I don't see how can or should I call the shopify app deploy by every uninstall, however the shopify app deploy -- --reset doesn't solve my issue locally.
Thank you guys all of your help in advance!
Ákos
Reproduction steps
Operating System
ubuntu
Shopify CLI version (check your project's
package.json
if you're not sure)3.64.1
Shell
No response
Node version (run
node -v
if you're not sure)v20.9.0
What language and version are you using in your application?
Express+ react
The text was updated successfully, but these errors were encountered: