App Management API returns 404 "Cannot find a valid organization" for newly created org - CLI fully blocked
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- graphql, typescript
- Ambito
- api, backend-api-design, cli
Direzione di ricerca
Start with the shopify app config link and shopify app dev request path to the App Management GraphQL endpoint named in the issue. Check whether the organization lookup fails for the reported organization; done means identifying or resolving why the API returns Cannot find a valid organization for it. The issue does not name files or tests, and says backend verification is needed.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Please confirm that you have:
- Reproduced the issue in the latest CLI version.
- Searched existing issues to see if your issue is a duplicate. (If you've found a duplicate issue, feel free to add additional information in a comment on it.)
In which of these areas are you experiencing a problem?
App
Expected behavior
shopify app config link / shopify app dev should resolve my organization and app record. The organization and app record are fully visible and functional on dev.shopify.com (web dashboard) under the same authenticated account.
Actual behavior
Every app command fails with HTTP 404 from the App Management GraphQL API: Cannot find a valid organization. This blocks app dev, app config link and app init entirely - we cannot upload our theme app extension or run preview.
Verbose reproduction (session token is valid, note It's expired: false):
$ shopify app config link --client-id bd8fb17b98cbe5db668095c63e8a602d --verbose
2026-10-05T06:13:11.855Z: - Token validation -> It's expired: false
2026-10-05T06:13:11.866Z: Sending "App Management" GraphQL request:
query ActiveAppReleaseFromApiKey($apiKey: String!) {
app: appByKey(key: "bd8fb...") { ...AppVersionInfo }
}
to https://app.shopify.com/app_management/unstable/graphql.json
# -> HTTP 404 "Cannot find a valid organization"
# Request ID: 01a10ab1-e08c-7faa-80b7-c9722543f172-1791180791
Timeline
- Organization created today (Oct 5, 2026) on dev.shopify.com; the first CLI attempt ~2h later already failed with the same 404. It has never succeeded.
- This is the only organization on the account (no comparison case).
- Re-auth (
shopify auth logout+ fresh device login), CLI 4.8.4 (latest stable) and nightly builds all fail identically - not a CLI release regression. - Partner Support ticket was filed first; support confirmed this needs backend verification and routed us here.
Details
- OS: Linux amd64 - CLI version: 4.8.4 - Node: 22.22.2 - auth method: device_auth
- Organization IDs: 239033978 (dev.shopify.com) / Partner org 5231408
- App Client ID: bd8fb17b98cbe5db668095c63e8a602d
- Dev store: mothertalk-dev.myshopify.com
- Partner Support Request ID: 7e47ea36-0fa8-45db-8877-bf3a59c5b885-1791177500
- Failing endpoint:
https://app.shopify.com/app_management/unstable/graphql.json
Ask: verify App Management API provisioning for organizations 239033978 / 5231408 - the org appears unresolvable on the App Management backend while everything on the web dashboard side is normal.
- Lingua principale
- TypeScript
- Stelle
- 754
- Fork
- 294
- Merge medio
- 2g 8h
- PR unite (30g)
- 104
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi 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
-
[Bug]: `theme dev` proxy 502s on cookie-heavy storefront responses (undici default 16 KiB `maxHeaderSize`)Forse già presa @efegokdemir l’ha presa 4 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
Shopify/cli#8717 · 2 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
[Bug]: `shopify hydrogen dev` exits before listening when the npm registry is unreachable (p-cancelable onCancel-after-settle in latest-version chunk)Forse già presa @efegokdemir l’ha presa 3 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 2 giorni
-
no-issue-activity
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
Shopify/cli#8388 · 4 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
shopify app deploy blocked by phantom [events]: Required — Partner Dashboard shows no Events feature enabledForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertano-issue-activity
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
Shopify/cli#8386 · 27 commenti · 32 reazioni ·
I maintainer di solito rispondono entro 2 giorni
Issue simili
-
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 85/100
capricorn86/happy-dom#2474 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
JSerwatka/letterboxd-tweaks#81 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
siyuan-note/siyuan#20165 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
polkadot-js/phishing#5716 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
juice-shop/juice-shop#3662 ·
I maintainer di solito rispondono entro 1 giorno