shopify app deploy blocked by phantom [events]: Required — Partner Dashboard shows no Events feature enabled
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
まず、[webhooks] のみを含む shopify.app.toml を使って、shopify app config validate と shopify app deploy で失敗を再現します。設定検証のエントリポイントと Partner Dashboard のレスポンスを追跡します。Events が有効になっていないアプリが、矛盾した [events] エラーを受け取らなくなるか、メッセージで必要な有効化手順が示されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 750
- フォーク
- 293
- 平均マージ
- 3日 20時間
- マージ済み PR(30日)
- 79
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Shopify/cli のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
似ている issue
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
Crush オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
ElementsProject/cln-application#167 · コメント 1 件 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Quantco/pnpm-licenses#17 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100