Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Abierto
#8,386 27 comentarios 32 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

  • #8387 de @kutaysahindev — cerrado sin fusionar

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
42/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
typescript
Área
backend, cli

Línea de trabajo

Empieza reproduciendo el fallo con shopify app config validate y shopify app deploy, usando un shopify.app.toml que contenga únicamente [webhooks]. Rastrea los puntos de entrada de la validación de configuración y la respuesta del Partner Dashboard; se considera terminado cuando una app sin Events habilitado deja de recibir los errores contradictorios de [events], o cuando el mensaje identifica el paso de habilitación requerido.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

no-issue-activity

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.
Lenguaje dominante
TypeScript
Estrellas
753
Forks
295
Merge medio
2 d 8 h
PR fusionados (30 d)
141

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Shopify/cli

Todos los issues de Shopify/cli

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.