-
Notifications
You must be signed in to change notification settings - Fork 476
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
ShopifyAPI::Errors::NoWebhookHandler for mandatory webhooks #1328
ShopifyAPI::Errors::NoWebhookHandler for mandatory webhooks #1328
Comments
Thank you for raising this, we'll look into it! |
hi @overallduka, this PR Shopify/shopify-app-template-ruby#137 should fix the issue. You can follow the file changes to register your webhook handler. You might need to change https://github.com/Shopify/shopify-app-template-ruby/pull/137/files#diff-426ab93ca0ca0b0481e4a62a91efe2750cdfc3436c977eb33537962cb54c2bc3R83 to your custom redaction job. See webhook documentation for more details on how to add webhook handlers to your app. |
Thanks @sle-c ! It worked after add the Just one adjustment that needs to be done in the documentation: Where it says:
It should be:
The |
+1 on this - very confusing. |
Thanks for flagging I put up a PR to resolve this! |
Issue summary
Before opening this issue, I have:
shopify_api
version: 14.3.0After upgrading my shopify_app to 22.2.1 and shopify_api to 14.3.0 I continue seeing the
ShopifyAPI::Errors::NoWebhookHandler
for mandatory webhooks like customers/redact.Worth to say that I have upgraded from a very old versio to 14.0.1 first and the same error happened, I upgraded to 14.3.0 in hope it was fixed, but the error continues.
I did found a issue about this which mentions that old versions were working:
Shopify/shopify_app#1756
But it seems that new versions of the API are not handling it okay.
Expected behavior
The mandatory webhhoks should be handled okay.
Actual behavior
The error.
Steps to reproduce the problem
Debug logs
My customer redact job:
I've tried use the new
extend ShopifyAPI::Webhooks::WebhookHandler
but the problem remains.The text was updated successfully, but these errors were encountered: