CLI version: reproduced identically on 4.7.0, 4.6.1, 4.0.0, and 3.94.3
Problem
shopify app deploy (and shopify app config validate) fails with:
even though shopify.app.toml has no [events] section and never has. I checked the Partner Dashboard for this app — there's no mention of "Events" / "Next-Gen Events" anywhere, no toggle, nothing to enable or configure.
Steps to reproduce
- Have an existing app with a
shopify.app.toml that has never used [events] (just a plain [webhooks] section with api_version set, no subscriptions).
- Run
shopify app config validate (or shopify app deploy).
- Observe:
╭─ error ──────────────────────────────────────────────────────────────────────╮
│ │
│ Validation errors found. │
│ │
│ • [events]: Required │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
What I tried
- Confirmed it's not a local-CLI-version issue — reproduced the identical error on
@shopify/cli 4.7.0, 4.6.1, 4.0.0, and 3.94.3 (full major-version spread) via npx @shopify/cli@<version> app config validate. Since the required-field set differs across those releases, this points to the check coming from the Partners backend, not code bundled in the CLI.
- Added a minimal
[events] block to shopify.app.toml:
[events]
api_version = "2026-07"
This flips to two contradictory errors:
[events.subscription]: Required
Unsupported section(s) in app configuration: events
So the backend simultaneously demands the section and rejects it as unsupported for this app — no toml content can satisfy both at once.
Expected behavior
shopify app deploy should succeed without requiring a section for a feature that isn't enabled for the app/org, or the error message should point at what actually needs enabling instead of a self-contradictory pair of validation errors.
Context
- App has an existing, working
[webhooks] section (api_version set, no subscriptions configured yet).
- Partner Dashboard shows no "Events" (developer preview) toggle or notice for this app.
CLI version: reproduced identically on 4.7.0, 4.6.1, 4.0.0, and 3.94.3
Problem
shopify app deploy(andshopify app config validate) fails with:even though
shopify.app.tomlhas no[events]section and never has. I checked the Partner Dashboard for this app — there's no mention of "Events" / "Next-Gen Events" anywhere, no toggle, nothing to enable or configure.Steps to reproduce
shopify.app.tomlthat has never used[events](just a plain[webhooks]section withapi_versionset, no subscriptions).shopify app config validate(orshopify app deploy).What I tried
@shopify/cli4.7.0, 4.6.1, 4.0.0, and 3.94.3 (full major-version spread) vianpx @shopify/cli@<version> app config validate. Since the required-field set differs across those releases, this points to the check coming from the Partners backend, not code bundled in the CLI.[events]block toshopify.app.toml:Expected behavior
shopify app deployshould succeed without requiring a section for a feature that isn't enabled for the app/org, or the error message should point at what actually needs enabling instead of a self-contradictory pair of validation errors.Context
[webhooks]section (api_versionset, no subscriptions configured yet).