I have reproduced the issue on the latest CLI version.
Yes, I am on the latest version
I have searched existing posts and this report is not a duplicate.
Yes, this isn’t a duplicate
In which of these areas are you experiencing a problem?
App
Expected behavior
The Shopify CLI should connect and run any of my apps locally using their respective shopify.app.toml configuration files, linking correctly to the app defined by the client_id without referencing deleted or unrelated apps.
Actual behavior
Running “shopify app dev” fails with a “404 The resource you have requested could not be found” error from the Partners GraphQL API.
This happens even after clearing all configuration files, logging out, reinstalling the CLI, and creating entirely new apps and projects.
Reproduction steps
- Create a new Shopify app with command “shopify app init”
- Run “shopify app dev”
Verbose output
PS D:\Work_Web\Shopify\new-app\adaptive-policy-app> shopify app dev --verbose
2025-10-23T21:28:22.042Z: Running command app dev
2025-10-23T21:28:22.054Z: Running system process:
· Command: C:\Program Files\nodejs\node.exe C:\Users\morb7\AppData\Roaming\npm\node_modules@shopify\cli\bin\run.js notifications list --ignore-errors
· Working directory: D:/Work_Web/Shopify/new-app/adaptive-policy-app
2025-10-23T21:28:22.075Z: Notifications to show: 0
╭─ warning ────────────────────────────────────────────────────────────────────╮
│ │
│ The flag api-key has been deprecated in favor of client-id │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
2025-10-23T21:28:22.137Z: Reading cached app information for directory D:/Work_Web/Shopify/new-app/adaptive-policy-app…
2025-10-23T21:28:22.138Z: Reading the content of file at shopify.app.toml…
2025-10-23T21:28:22.145Z: Reading the content of file at shopify.app.toml…
2025-10-23T21:28:22.148Z: Ensuring that the user is authenticated with the App Management API with the following scopes:
2025-10-23T21:28:22.148Z: Getting session store…
2025-10-23T21:28:22.150Z: Getting current session ID…
2025-10-23T21:28:22.151Z: Validating existing session against the scopes:
[
“openid”,
“https: //api. shopify .com/auth/shop.admin.graphql”,
“https: //api. shopify .com/auth/shop.admin.themes”,
“https: //api. shopify .com/auth/partners.collaborator-relationships.readonly”,
“https: //api .shopify .com/auth/shop.storefront-renderer.devtools”,
“https: //api .shopify .com/auth/partners.app.cli.access”,
“https: //api .shopify .com/auth/destinations.readonly”,
“https: //api .shopify .com/auth/organization.store-management”,
“https: //api .shopify .com/auth/organization.on-demand-user-access”,
“https: //api .shopify .com/auth/organization.apps.manage”
]
For applications:
{
“appManagementApi”: {
“scopes”:
},
“businessPlatformApi”: {
“scopes”:
}
}
2025-10-23T21:28:22.152Z: - Token validation → It’s expired: false
2025-10-23T21:28:22.156Z: Sending “BusinessPlatform” GraphQL request:
query UserInfo {
currentUserAccount {
uuid
email
organizations(first: 2) {
nodes {
name
__typename
}
__typename
}
__typename
}
}
With request headers:
User-Agent: Shopify CLI; v=3.86.1
Keep-Alive: timeout=30
Sec-CH-UA-PLATFORM: win32
Content-Type: application/json
to https: //destinations .shopifysvc.com/destinations/api/2020-07/graphql
2025-10-23T21:28:22.205Z: Sending “App Management” GraphQL request:
query ActiveAppReleaseFromApiKey($apiKey: String!) {
app: appByKey(key: $apiKey) {
…AppVersionInfo
__typename
}
}
fragment ReleasedAppModule on AppModule {
uuid
userIdentifier
handle
config
target
specification {
identifier
externalIdentifier
name
managementExperience
}
}
fragment AppVersionInfo on App {
id
key
organizationId
activeRoot {
clientCredentials {
secrets {
key
}
}
grantedShopifyApprovalScopes
}
activeRelease {
id
version {
name
appModules {
…ReleasedAppModule
}
}
}
}
With variables:
{
“apiKey”: “*****”
}
With request headers:
User-Agent: Shopify CLI; v=3.86.1
Keep-Alive: timeout=30
Sec-CH-UA-PLATFORM: win32
Content-Type: application/json
to https: //app .shopify .com/app_management/unstable/graphql.json
2025-10-23T21:28:22.600Z: Request to https: //app .shopify .com/app_management/unstable/graphql.json completed in 393 ms
With response headers:
content-type: application/json; charset=utf-8
server-timing: processing;dur=84, verdict_flag_enabled;desc=“count=2”;dur=0.112, _y;desc=“685ebdae-24b8-4aa2-9310-27f5cedf5db2”, _s;desc=“51bbc666-7c83-4671-b003-98825b3b76b6”, cfRequestDuration;dur=253.999949
x-request-id: 525658be-4d97-4715-b0cd-445fa9444777-1761254902
2025-10-23T21:28:22.622Z: Ensuring that the user is authenticated with the Partners API with the following scopes:
2025-10-23T21:28:22.623Z: Getting session store…
2025-10-23T21:28:22.624Z: Getting current session ID…
2025-10-23T21:28:22.625Z: Validating existing session against the scopes:
[
“openid”,
“https: //api .shopify.com/auth/shop.admin.graphql”,
“https: //api .shopify.com/auth/shop.admin.themes”,
“https: //api .shopify.com/auth/partners.collaborator-relationships.readonly”,
“https: //api .shopify.com/auth/shop.storefront-renderer.devtools”,
“https: //api .shopify.com/auth/partners.app.cli.access”,
“https: //api .shopify.com/auth/destinations.readonly”,
“https: //api .shopify.com/auth/organization.store-management”,
“https: //api .shopify.com/auth/organization.on-demand-user-access”,
“https: //api .shopify.com/auth/organization.apps.manage”
]
For applications:
{
“partnersApi”: {
“scopes”:
}
}
2025-10-23T21:28:22.626Z: - Token validation → It’s expired: false
2025-10-23T21:28:22.627Z: Getting partner account info from cache
2025-10-23T21:28:22.672Z: Sending “Partners” GraphQL request:
query FindApp($apiKey: String!) {
app(apiKey: $apiKey) {
id
title
apiKey
organizationId
apiSecretKeys {
secret
}
appType
grantedScopes
applicationUrl
redirectUrlWhitelist
requestedAccessScopes
webhookApiVersion
embedded
posEmbedded
preferencesUrl
gdprWebhooks {
customerDeletionUrl
customerDataRequestUrl
shopDeletionUrl
}
appProxy {
subPath
subPathPrefix
url
}
developmentStorePreviewEnabled
disabledFlags
}
}
With variables:
{
“apiKey”: “*****”
}
With request headers:
User-Agent: Shopify CLI; v=3.86.1
Keep-Alive: timeout=30
Sec-CH-UA-PLATFORM: win32
Content-Type: application/json
to https ://partners.shopify.com/api/cli/graphql
2025-10-23T21:28:23.121Z: Request to https ://partners.shopify.com/api/cli/graphql completed in 448 ms
With response headers:
cache-control: max-age=0, private, must-revalidate
content-type: application/json; charset=utf-8
etag: W/“ade53cd2d33fe42ca8eaceb94a24d22e”
server-timing: processing;dur=204, socket_queue;dur=2.619, util;dur=0.2, cfRequestDuration;dur=333.999872
x-request-id: 978e9030-ab36-43c9-8123-c371d23db606-1761254902
╭─ error ──────────────────────────────────────────────────────────────────────╮
│ │
│ │
│ The Partners GraphQL API responded unsuccessfully with errors: │
│ │
│ [ │
│ { │
│ “message”: “The resource you have requested could not be found”, │
│ “extensions”: { │
│ “code”: “404” │
│ } │
│ } │
│ ] │
│ │
│ Request ID: 978e9030-ab36-43c9-8123-c371d23db606-1761254902 │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
2025-10-23T21:28:23.280Z: Running system process:
· Command: npm prefix
· Working directory: D:/Work_Web/Shopify/new-app/adaptive-policy-app
2025-10-23T21:28:23.739Z: Obtaining the dependency manager in directory D:\Work_Web\Shopify\new-app\adaptive-policy-app…
2025-10-23T21:28:24.444Z: Request to https ://monorail-edge.shopifysvc.com/v1/produce completed in 235 ms
With response headers:
x-request-id: 9d85d672-9c28-46ad-b681-67d5b0cf0a3e
2025-10-23T21:28:24.445Z: Analytics event sent: {
“command”: “app dev”,
“time_start”: 1761254902043,
“time_end”: 1761254903154,
“total_time”: 1111,
“success”: false,
“cli_version”: “3.86.1”,
“ruby_version”: “”,
“node_version”: “22.14.0”,
“is_employee”: false,
“uname”: “windows amd64”,
“env_ci”: false,
“env_plugin_installed_any_custom”: false,
“env_plugin_installed_shopify”: “[“
/cli”]”,
“env_shell”: “powershell”,
“env_device_id”: “0d5d800c67610cd21695caefc7c8cffa1ff54e6b”,
“env_cloud”: “localhost”,
“env_package_manager”: “npm”,
“env_is_global”: true,
“env_auth_method”: “device_auth”,
“env_is_wsl”: false,
“env_build_repository”: “Shopify/cli”,
“cmd_app_warning_api_key_deprecation_displayed”: true,
“cmd_all_timing_network_ms”: 848,
“cmd_all_timing_prompts_ms”: 0,
“cmd_all_launcher”: “unknown”,
“cmd_all_topic”: “app”,
“cmd_all_plugin”: “
/app”,
“cmd_all_verbose”: true,
“cmd_all_path_override”: true,
“cmd_all_path_override_hash”: “71b3344190116ee6525a065dded36789a1c8da48”,
“cmd_app_dependency_installation_skipped”: false,
“cmd_app_reset_used”: false,
“cmd_dev_tunnel_type”: “auto”,
“cmd_all_last_graphql_request_id”: “978e9030-ab36-43c9-8123-c371d23db606-1761254902”,
“cmd_all_timing_active_ms”: 262,
“cmd_all_exit”: “expected_error”,
“user_id”: “289710af-457e-4f4d-9ae8-92463fd46f99”,
“request_ids”: [
“525658be-4d97-4715-b0cd-445fa9444777-1761254902”,
“978e9030-ab36-43c9-8123-c371d23db606-1761254902”
],
“args”: “–verbose”,
“error_message”: “\nThe Partners GraphQL API responded unsuccessfully with errors:\n\n\u001b[33m[\n {\n \u001b[0m\u001b[37m"message":\u001b[33m \u001b[0m\u001b[32m"The resource you have requested could not be found"\u001b[33m,\n \u001b[0m\u001b[37m"extensions":\u001b[33m {\n \u001b[0m\u001b[37m"code":\u001b[33m \u001b[0m\u001b[32m"404"\u001b[33m\n }\n }\n]\u001b[0m\n \nRequest ID: 978e9030-ab36-43c9-8123-c371d23db606-1761254902\n”,
“env_plugin_installed_all”: “[“
/cli”]”,
“metadata”: “{“extraPublic”:{},“extraSensitive”:{}}”
}
2025-10-23T21:28:24.468Z: Reporting handled error to Bugsnag:
The Partners GraphQL API responded unsuccessfully with errors:
[
{
“message”: “The resource you have requested could not be found”,
“extensions”: {
“code”: “404”
}
}
]
Request ID: 978e9030-ab36-43c9-8123-c371d23db606-1761254902
2025-10-23T21:28:24.576Z: Running system process:
· Command: npm prefix
· Working directory: D:/Work_Web/Shopify/new-app/adaptive-policy-app
2025-10-23T21:28:25.017Z: Obtaining the dependency manager in directory D:\Work_Web\Shopify\new-app\adaptive-policy-app…
Operating system
Windows 10, Windows 11
CLI version
3.86.1
Shell
PowerShell
Nodejs version
22.14.0
What language and version are you using in your application?
Node.js v22.14.0
