-
Notifications
You must be signed in to change notification settings - Fork 136
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]: Migrating to App-specific Webhook Subscriptions with Legacy Install flow enabled causes deploy error #4417
Comments
Hi, is there an update on this? ty. |
Hi @pnmcosta, if you set Check the documentation on how this property affects the scopes: |
Hi @isaacroldan, I started development of the app when the login flow was not legacy - roughly 1 year and few months ago - Regardless, how/why is the login flow option (legacy or not) have an impact on the scopes required for the webhooks? As I clearly pointed out, all the published versions of the app have the required scopes for the webhooks I've always been receiving and subscribe on a per shop basis. If the reason for this is that app-specific webhook subscription rely on declarative scopes on the configuration file only, and |
Hi @isaacroldan The template i used initially was https://github.com/Shopify/shopify-app-template-node/ and as you see here scopes have always been declared on the configuration file. |
Experiencing the same problem. I also believe this is a bug.
My app also uses using latest cli |
same here |
1 similar comment
same here |
@isaacroldan can we get some more clarification or reopen this issue? I have new app functionality that depends on webhooks that I need to release soon and would really like to avoid all the extra work to manage webhooks in code. |
Please confirm that you have:
In which of these areas are you experiencing a problem?
App
Expected behavior
Running
npm run deploy
after migrating the toml config to App-specific Webhook Subscriptions:should not produce an error if legacy install flow is enabled and the scope has always been included:
Actual behavior
I'm getting the following error even thought
read_orders
andread_all_orders
are in the scopes, and have been before the migration;Verbose output
Not really comfortable sharing the whole verbose output, but happy to for any specifics portions required.
Reproduction steps
include_config_on_deploy = true
andread_orders
in scope using the shop-specific webhook subscriptionsnpm run deploy
Operating System
Fedora 18 on WSL
Shopify CLI version (check your project's
package.json
if you're not sure)3.66.1
Shell
zsh
Node version (run
node -v
if you're not sure)v20.14.0
What language and version are you using in your application?
No response
The text was updated successfully, but these errors were encountered: