shopify app deploy blocked by phantom [events]: Required — Partner Dashboard shows no Events feature enabled
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
Direzione di ricerca
Inizia riproducendo il problema con shopify app config validate e shopify app deploy, usando un shopify.app.toml che contenga solo [webhooks]. Traccia i punti di ingresso della convalida della configurazione e la risposta del Partner Dashboard; il lavoro è completato quando un'app senza Events abilitato non riceve più gli errori contraddittori [events], oppure quando il messaggio identifica il passaggio di abilitazione richiesto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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:
[events]: Required
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.tomlthat has never used[events](just a plain[webhooks]section withapi_versionset, no subscriptions). - Run
shopify app config validate(orshopify 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/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. - Added a minimal
[events]block toshopify.app.toml:
This flips to two contradictory errors:[events] api_version = "2026-07"
So the backend simultaneously demands the section and rejects it as unsupported for this app — no toml content can satisfy both at once.[events.subscription]: Required Unsupported section(s) in app configuration: events
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_versionset, no subscriptions configured yet). - Partner Dashboard shows no "Events" (developer preview) toggle or notice for this app.
- Lingua principale
- TypeScript
- Stelle
- 750
- Fork
- 293
- Merge medio
- 3g 20h
- PR unite (30g)
- 79
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Shopify/cli
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
Issue simili
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Crush Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
ElementsProject/cln-application#167 · 1 commento · 1 reazione ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Quantco/pnpm-licenses#17 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100