Also getting this on 4.2.0
Thanks everyone for chiming in and sharing additional context.
This issue has now been mitigated, so you should no longer see this error.
If you’re still running into it, please let us know.
I was hitting this exact error too. Updating the Shopify CLI to the latest version (4.2.0) resolved it for me, no other config changes needed.
I’m now getting this exact error on CLI version 4.7.0
I have face the same issue
same here, wich version we need to downgrade to prevent this ?
I tried that, but it didn’t work.
We are also facing this issue still.
We are also facing this issue still.
Validation error in shopify.app.toml: [events]: Required
Same CLI is prompting us to add [ events ] block in app.toml even though we don’t require it and according to docs it’s not mandatory.
It’s stopping us from creating dev servers and even creating new version of app extensions without the block.
It has just started coming up again
Validation error in shopify.app.toml:
[events]: Required
I’m experiencing the same issue as well.
I’m experiencing the same issue, specifically:
Validation error in shopify.app.toml:
[events]: Required
Although this thread is marked as Solved, the issue is not solved for us. We are still encountering it on Shopify CLI 4.7.0, and the suggested upgrade/downgrade approaches do not resolve the error.
Details:
- Shopify CLI: 4.7.0
- Node.js: v22.17.1
- App: public app already listed in the Shopify App Store
- Access scope: read_themes
- The app has no Shopify Events subscriptions and no [events] section
- The TOML file is unchanged
- Downgrading the CLI did not resolve the issue
This prevents npx shopify app dev from starting. Adding an artificial Events configuration is not appropriate because the app does not use Events and should not require additional permissions.
Can Shopify confirm the fix or provide a temporary workaround for apps that do not use Events?
Experiencing the same issue:
|I don’t have any usecase for events. Why am I required to add it?
Same issue happening for us. It’s frustrating why unstable Developer preview key has been made mandatory for all apps. We clearly did not create any event subscriptions.
I’m also experiencing the same suddenly, it was working fine few hours ago
Validation error in shopify.app.dev.toml:
[events]: Required
I’ve tried upgrading the CLI to 4.7 and also downgraded to 3.88 same issue
This is a critical error; no one can be developing under these conditions. How is this even possible?
Remove the “solved” mark because it’s confusing and people will create other topics.
I’ve tried downgraded to till 3.88 and upgrade to 4.7 it doesn’t seems like fixing of any of these versions
Spend time solving the problem
Spend time closing topics