Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

shopify app deploy blocked by phantom [events]: Required — Partner Dashboard shows no Events feature enabled

オープン
#8,386 コメント 26 件 リアクション 33 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
typescript
領域
backend, cli

調査の方向性

まず、[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

  1. 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).
  2. Run shopify app config validate (or shopify app deploy).
  3. Observe:
    ╭─ error ──────────────────────────────────────────────────────────────────────╮
    │                                                                              │
    │  Validation errors found.                                                    │
    │                                                                              │
    │  • [events]: Required                                                        │
    │                                                                              │
    ╰──────────────────────────────────────────────────────────────────────────────╯
    

What I tried

  1. 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.
  2. 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.
主要言語
TypeScript
スター
750
フォーク
293
平均マージ
3日 20時間
マージ済み PR(30日)
79

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Shopify/cli のほかの issue

Shopify/cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。