The BusinessPlatform GraphQL API responded unsuccessfully with the HTTP status 500 and errors

Hey :waving_hand:

I seem to be getting a BusinessPlatform GraphQL API error quite often. Iโ€™m not sure what the reasoning for it is. It seems to randomly resolve itself as well.

This is just trying to use the Next Gen Dev Platform with the --use-localhost and the latest version of the CLI

โฏ shopify --version                                                                                                                                                                                                                                          
@shopify/cli/3.81.2 darwin-arm64 node-v22.16.0

This happens for multiple apps as well, Remix, React Router, Rails. Iโ€™m guessing itโ€™s linked to the new dev platform vs the specific app?

Any ideas or help would be appreciated as I currently have to just sit around until it sorts itself out :sweat_smile:

My latest Request ID is Request ID: 2607fa5c-142e-46c8-9b71-0277144e18f6-1752488085.

The --verbose output is as follows:

โฏ yarn dev --verbose
yarn run v1.22.22
$ shopify app dev --use-localhost --verbose
2025-07-14T10:16:43.367Z: Running command app dev
2025-07-14T10:16:43.369Z: Running system process in background:
  ยท Command: /Users/dangamble/.local/share/mise/installs/node/22.16.0/bin/node /Users/dangamble/Code/rails-shopify-migration/node_modules/.bin/shopify notifications list --ignore-errors
  ยท Working directory: /Users/dangamble/Code/rails-shopify-migration
                                                                                                                                                                                                                                                             
2025-07-14T10:16:43.373Z: Notifications to show: 0
2025-07-14T10:16:43.380Z: Port 3458 is free
2025-07-14T10:16:43.385Z: Reading cached app information for directory /Users/dangamble/Code/rails-shopify-migration...
2025-07-14T10:16:43.385Z: Reading the content of file at shopify.app.toml...
2025-07-14T10:16:43.386Z: Reading the content of file at shopify.app.toml...
2025-07-14T10:16:43.387Z: Ensuring that the user is authenticated with the App Management API with the following scopes:
[]
                                                                                                                                                                                                                                                             
2025-07-14T10:16:43.387Z: Getting session store...
2025-07-14T10:16:43.389Z: 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-07-14T10:16:43.389Z: - Token validation -> It's expired: false
2025-07-14T10:16:43.390Z: 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.82.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json
                                                                                                                                                                                                                                                             
to https://destinations.shopifysvc.com/destinations/api/2020-07/graphql
2025-07-14T10:16:43.396Z: Sending "App Management" GraphQL request:
  query ActiveAppReleaseFromApiKey($apiKey: String!) {
  app: appByKey(key: $apiKey) {
    ...AppVersionInfo
    __typename
  }
}
                                                                                                                                                                                                                                                             
fragment ReleasedAppModule on AppModule {
  uuid
  userIdentifier
  handle
  config
  specification {
    identifier
    externalIdentifier
    name
  }
}
                                                                                                                                                                                                                                                             
fragment AppVersionInfo on App {
  id
  key
  activeRoot {
    clientCredentials {
      secrets {
        key
      }
    }
  }
  activeRelease {
    id
    version {
      name
      appModules {
        ...ReleasedAppModule
      }
    }
  }
}
                                                                                                                                                                                                                                                             
With variables:
{
  "apiKey": "*****"
}
                                                                                                                                                                                                                                                             
With request headers:
 - User-Agent: Shopify CLI; v=3.82.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json
                                                                                                                                                                                                                                                             
to https://app.shopify.com/app_management/unstable/organizations/129332601/graphql.json
2025-07-14T10:16:43.876Z: Request to https://app.shopify.com/app_management/unstable/organizations/129332601/graphql.json completed in 480 ms
With response headers:
 - content-type: application/json; charset=utf-8
 - server-timing: processing;dur=138, cfRequestDuration;dur=274.000168
 - x-request-id: 1f3de844-96d2-4e78-8081-43a3bb955083-1752488203
                                                                                                                                                                                                                                                             
2025-07-14T10:16:43.878Z: Sending "BusinessPlatform" GraphQL request:
  query FindOrganizations($organizationId: OrganizationID!) {
  currentUserAccount {
    organization(id: $organizationId) {
      id
      name
      __typename
    }
    __typename
  }
}
                                                                                                                                                                                                                                                             
With variables:
{
  "organizationId": "Z2lkOi8vb3JnYW5pemF0aW9uL09yZ2FuaXphdGlvbi8xMjkzMzI2MDE="
}
                                                                                                                                                                                                                                                             
With request headers:
 - User-Agent: Shopify CLI; v=3.82.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json
                                                                                                                                                                                                                                                             
to https://destinations.shopifysvc.com/destinations/api/2020-07/graphql
2025-07-14T10:16:43.883Z: Sending "App Management" GraphQL request:
  query fetchSpecifications {
  specifications {
    name
    identifier
    externalIdentifier
    features
    uidStrategy {
      appModuleLimit
      isClientProvided
      __typename
    }
    validationSchema {
      jsonSchema
      __typename
    }
    __typename
  }
}
                                                                                                                                                                                                                                                             
With request headers:
 - User-Agent: Shopify CLI; v=3.82.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json
                                                                                                                                                                                                                                                             
to https://app.shopify.com/app_management/unstable/organizations/129332601/graphql.json
2025-07-14T10:16:44.390Z: Request to https://app.shopify.com/app_management/unstable/organizations/129332601/graphql.json completed in 507 ms
With response headers:
 - content-type: application/json; charset=utf-8
 - server-timing: processing;dur=148, cfRequestDuration;dur=290.999889
 - x-request-id: 112387ff-f7d7-4a4f-b25c-3aff20d92aea-1752488204
                                                                                                                                                                                                                                                             
2025-07-14T10:16:44.395Z: The following extension specifications were defined locally but not found in the remote specifications: product_subscription, tax_calculation
2025-07-14T10:16:44.396Z: The following extension specifications were found in the remote specifications but not defined locally: admin_app, app_link, app_nav_item, bulk_action, checkout_script_tag, flow_action_definition, flow_trigger_definition, flow_trigger_discovery_webhook, manage_marketplaces, marketing_action, merchandising_create_publication, merchandising_fulfillment_variant_details, ping_message_callback, pos_link, product_configuration_link, resource_publication_settings, retail_cart_promotion, retail_product_recommendation, subscription_link
2025-07-14T10:16:44.397Z: Reading the content of file at .gitignore...
2025-07-14T10:16:44.529Z: Reading the content of file at package.json...
2025-07-14T10:16:44.529Z: Reading the content of file at package.json...
2025-07-14T10:16:44.531Z: Running system process:
  ยท Command: npm prefix
  ยท Working directory: /Users/dangamble/Code/rails-shopify-migration
                                                                                                                                                                                                                                                             
2025-07-14T10:16:44.612Z: Obtaining the dependency manager in directory /Users/dangamble/Code/rails-shopify-migration...
2025-07-14T10:16:44.612Z: Reading the content of file at package.json...
2025-07-14T10:16:44.613Z: Reading the content of file at .shopify/project.json...
2025-07-14T10:16:44.617Z: Reading the content of file at shopify.web.toml...
2025-07-14T10:16:44.618Z: Notifications to show: 0
2025-07-14T10:16:44.619Z: Reading cached app information for directory /Users/dangamble/Code/rails-shopify-migration...
2025-07-14T10:16:44.619Z: Storing app information for directory /Users/dangamble/Code/rails-shopify-migration:{
  "appId": "eb22d8994bc6eadee5f928cdb4d6d9a6",
  "title": "Rails Migration (Dev)",
  "directory": "/Users/dangamble/Code/rails-shopify-migration",
  "orgId": "129332601"
}
2025-07-14T10:16:44.626Z: Sending "BusinessPlatform" GraphQL request:
  query ListAppDevStores($searchTerm: String) {
  organization {
    id
    name
    accessibleShops(
      filters: {field: STORE_TYPE, operator: EQUALS, value: "app_development"}
      search: $searchTerm
    ) {
      edges {
        node {
          id
          externalId
          name
          storeType
          primaryDomain
          shortName
          __typename
        }
        __typename
      }
      pageInfo {
        hasNextPage
        __typename
      }
      __typename
    }
    currentUser {
      organizationPermissions
      __typename
    }
    __typename
  }
}
                                                                                                                                                                                                                                                             
With variables:
{}
                                                                                                                                                                                                                                                             
With request headers:
 - User-Agent: Shopify CLI; v=3.82.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json
                                                                                                                                                                                                                                                             
to https://destinations.shopifysvc.com/organizations/api/unstable/organization/129332601/graphql
2025-07-14T10:16:45.274Z: Request to https://destinations.shopifysvc.com/organizations/api/unstable/organization/129332601/graphql completed in 647 ms
With response headers:
 - content-type: text/html; charset=UTF-8
 - server-timing: processing;dur=179, socket_queue;dur=1.887, util;dur=0.08, cfRequestDuration;dur=297.999859
 - x-request-id: c3b275ff-a666-48f4-a4fc-9b6c55695fd5-1752488204
                                                                                                                                                                                                                                                             
โ•ญโ”€ error โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                                                                                                                                                      โ”‚
โ”‚                                                                                                                                                                      โ”‚
โ”‚  The BusinessPlatform GraphQL API responded unsuccessfully with the HTTP status 500 and errors:                                                                      โ”‚
โ”‚                                                                                                                                                                      โ”‚
โ”‚  {}                                                                                                                                                                  โ”‚
โ”‚                                                                                                                                                                      โ”‚
โ”‚  Request ID: c3b275ff-a666-48f4-a4fc-9b6c55695fd5-1752488204                                                                                                         โ”‚
โ”‚                                                                                                                                                                      โ”‚
โ”‚                                                                                                                                                                      โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
                                                                                                                                                                                                                                                             
2025-07-14T10:16:45.314Z: Running system process:
  ยท Command: npm prefix
  ยท Working directory: /Users/dangamble/Code/rails-shopify-migration
                                                                                                                                                                                                                                                             
2025-07-14T10:16:45.403Z: Obtaining the dependency manager in directory /Users/dangamble/Code/rails-shopify-migration...
2025-07-14T10:16:46.146Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 656 ms
With response headers:
 - x-request-id: f3f12abb-a5d9-4b72-8357-71f608759688
                                                                                                                                                                                                                                                             
2025-07-14T10:16:46.147Z: Analytics event sent: {
  "command": "app dev",
  "time_start": 1752488203367,
  "time_end": 1752488205311,
  "total_time": 1944,
  "success": false,
  "cli_version": "3.82.1",
  "ruby_version": "",
  "node_version": "22.16.0",
  "is_employee": false,
  "uname": "darwin arm64",
  "env_ci": false,
  "env_plugin_installed_any_custom": false,
  "env_plugin_installed_shopify": "[\"@shopify/cli\"]",
  "env_shell": "zsh",
  "env_device_id": "94a7b9159806c755c622e2fc1e9c331e345746b1",
  "env_cloud": "localhost",
  "env_package_manager": "yarn",
  "env_is_global": false,
  "env_auth_method": "device_auth",
  "env_is_wsl": false,
  "cmd_app_warning_api_key_deprecation_displayed": false,
  "cmd_app_all_configs_any": true,
  "cmd_app_all_configs_clients": "{\"shopify.app.toml\":\"eb22d8994bc6eadee5f928cdb4d6d9a6\"}",
  "cmd_app_linked_config_used": true,
  "cmd_app_linked_config_name": "shopify.app.toml",
  "cmd_app_linked_config_git_tracked": false,
  "cmd_app_linked_config_source": "cached",
  "cmd_app_linked_config_uses_cli_managed_urls": true,
  "project_type": "node",
  "app_extensions_any": false,
  "app_extensions_breakdown": "{}",
  "app_extensions_count": 0,
  "app_extensions_custom_layout": false,
  "app_extensions_function_any": false,
  "app_extensions_function_count": 0,
  "app_extensions_theme_any": false,
  "app_extensions_theme_count": 0,
  "app_extensions_ui_any": false,
  "app_extensions_ui_count": 0,
  "app_name_hash": "29de4824fbbef2556dd5a57a3bc2b53d5b38aabe",
  "app_path_hash": "3dcbfc0b965cd1bcff9466cf948636a799bf4e26",
  "app_scopes": "[]",
  "app_web_backend_any": true,
  "app_web_backend_count": 1,
  "app_web_custom_layout": true,
  "app_web_framework": "rails",
  "app_web_frontend_any": true,
  "app_web_frontend_count": 1,
  "env_package_manager_workspaces": false,
  "business_platform_id": 129332601,
  "api_key": "****",
  "cmd_app_reset_used": false,
  "cmd_all_timing_network_ms": 1652,
  "cmd_all_timing_prompts_ms": 0,
  "cmd_all_launcher": "yarn",
  "cmd_all_topic": "app",
  "cmd_all_plugin": "@shopify/app",
  "cmd_all_verbose": true,
  "cmd_all_path_override": true,
  "cmd_all_path_override_hash": "3dcbfc0b965cd1bcff9466cf948636a799bf4e26",
  "cmd_app_dependency_installation_skipped": false,
  "cmd_dev_tunnel_type": "use-localhost",
  "cmd_all_last_graphql_request_id": "c3b275ff-a666-48f4-a4fc-9b6c55695fd5-1752488204",
  "cmd_all_timing_active_ms": 291,
  "cmd_all_exit": "expected_error",
  "user_id": "7947b28a-cf95-4a9c-a807-617955c03bd1",
  "request_ids": [
    "1f3de844-96d2-4e78-8081-43a3bb955083-1752488203",
    "112387ff-f7d7-4a4f-b25c-3aff20d92aea-1752488204",
    "c3b275ff-a666-48f4-a4fc-9b6c55695fd5-1752488204"
  ],
  "args": "--use-localhost --verbose",
  "error_message": "\nThe BusinessPlatform GraphQL API responded unsuccessfully with the HTTP status 500 and errors:\n\n\u001b[33m{}\u001b[0m\n      \nRequest ID: c3b275ff-a666-48f4-a4fc-9b6c55695fd5-1752488204\n",
  "app_name": "shopify-hotwire-template",
  "env_plugin_installed_all": "[\"@shopify/cli\"]",
  "metadata": "{\"extraPublic\":{},\"extraSensitive\":{}}"
}
2025-07-14T10:16:46.164Z: Reporting handled error to Bugsnag:
The BusinessPlatform GraphQL API responded unsuccessfully with the HTTP status 500 and errors:
                                                                                                                                                                                                                                                             
{}
                                                                                                                                                                                                                                                             
Request ID: c3b275ff-a666-48f4-a4fc-9b6c55695fd5-1752488204
                                                                                                                                                                                                                                                             
2025-07-14T10:16:46.316Z: Running system process:
  ยท Command: npm prefix
  ยท Working directory: /Users/dangamble/Code/rails-shopify-migration
                                                                                                                                                                                                                                                             
2025-07-14T10:16:46.407Z: Obtaining the dependency manager in directory /Users/dangamble/Code/rails-shopify-migration...
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

This is working fine now so I imagine it is Shopifyโ€™s side. It does seem to happen frequently though

Thanks for reporting @DanGamble . This does look like an intermittent issue on our end. Iโ€™ve looked at logs + notified the responsible team with some potential mitigations. Hopefully we can reduce the frequency of this error.

1 Like

Hi @dlm,
Iโ€™m facing a very similar issue, except in my case Iโ€™m consistently getting a 401 HTTP status code since yesterday โ€” both on an existing app and when trying with a newly created one.
Unfortunately, the error is not intermittent. It happens every time, and I canโ€™t get any development environment to work at all.

For context, I do have access to the new dev platform, and I suspect my issues might be related to that transition.

My situation seems slightly different from @DanGambleโ€™s, because Iโ€™m encountering problems on both environments โ€” the โ€œold Partner Dashboardโ€ as well as the new dev dashboard.


Errors on the โ€œPartnerโ€ (legacy) platform:

When I try to run shopify app dev on an app that has been working flawlessly for months, I encounter multiple issues:

  1. First error:
    Could not find store for domain renaud-extensibility-preview.myshopify.com in Organization Colorz
    โ€” even though the shop exists and is visible in our Partner account. I have admin access.

  2. Running:
    shopify app dev --reset
    and selecting the app gives me this:
    Looks like you don't have any dev stores associated with COLORZ's Partner Dashboard. Create one

  3. Choosing:
    Finished creating a dev store?
    โ€” it just loops. The process runs, then nothing happens, and it returns to the same prompt.


Errors on the โ€œNew Dev Dashboardโ€:

In desperation, I tried recreating the app and dev stores in the new dev dashboard โ€” even though that meant losing all my existing dev store setup.
But even there, I immediately get a 401 error on the ListAppDevStores GraphQL query.


What Iโ€™ve tried (none of these fixed it):

  • Logging out from Shopify (both CLI and web)
  • Clearing cookies and cache
  • Downgrading the Shopify CLI

Still completely stuck.


Let me know if anyone has a lead โ€” Iโ€™d really appreciate any help on this!

Here is my shopify app dev --verbose output :

shopify app dev --verbose
2025-07-30T06:32:14.487Z: Running command app dev
2025-07-30T06:32:14.494Z: Running system process in background:
  ยท Command: /home/renaud/.nvm/versions/node/v20.19.0/bin/node /home/renaud/.nvm/versions/node/v20.19.0/bin/shopify notifications list --ignore-errors
  ยท Working directory: /home/renaud/www/miraklify-shopify-app

2025-07-30T06:32:14.500Z: Notifications to show: 0
2025-07-30T06:32:14.519Z: Reading cached app information for directory /home/renaud/www/miraklify-shopify-app...
2025-07-30T06:32:14.520Z: Reading the content of file at shopify.app.miraklify.toml...
2025-07-30T06:32:14.522Z: Reading the content of file at shopify.app.miraklify.toml...
2025-07-30T06:32:14.524Z: Ensuring that the user is authenticated with the App Management API with the following scopes:
[]

2025-07-30T06:32:14.525Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=7ee65a63608843c577db8b23c4d7316ea0a01bd2f7594f8a9c06ea668c1b775c&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Forganization.apps.manage&subject_token=****
With request headers:


2025-07-30T06:32:14.722Z: Request to https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=7ee65a63608843c577db8b23c4d7316ea0a01bd2f7594f8a9c06ea668c1b775c&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Forganization.apps.manage&subject_token=**** completed in 196 ms
With response headers:
 - cache-control: no-cache, no-store, private, must-revalidate, max-age=0
 - content-type: application/json; charset=utf-8
 - etag: W/"3694453bb66728bad56feed0c4a6fe20"
 - server-timing: processing;dur=32, socket_queue;dur=1.537, edge;dur=1.037, util;dur=0.05, cfRequestDuration;dur=144.999981
 - x-request-id: f60d681a-149c-41bc-882f-86f1b9f71a59-1753857134
    
2025-07-30T06:32:14.725Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=32ff8ee5-82b8-4d93-9f8a-c6997cefb7dc&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fdestinations.readonly&subject_token=****
With request headers:


2025-07-30T06:32:14.894Z: Request to https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=32ff8ee5-82b8-4d93-9f8a-c6997cefb7dc&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fdestinations.readonly&subject_token=**** completed in 168 ms
With response headers:
 - cache-control: no-cache, no-store, private, must-revalidate, max-age=0
 - content-type: application/json; charset=utf-8
 - etag: W/"121400eb6d18573561c58103341433c7"
 - server-timing: processing;dur=29, socket_queue;dur=1.669, edge;dur=2.025, util;dur=0.0, cfRequestDuration;dur=141.999960
 - x-request-id: 38d04ba2-061d-408c-bde2-23dd6d558963-1753857134
    
2025-07-30T06:32:14.900Z: 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.83.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

to https://destinations.shopifysvc.com/destinations/api/2020-07/graphql
2025-07-30T06:32:14.905Z: Sending "App Management" GraphQL request:
  query ActiveAppReleaseFromApiKey($apiKey: String!) {
  app: appByKey(key: $apiKey) {
    ...AppVersionInfo
    __typename
  }
}

fragment ReleasedAppModule on AppModule {
  uuid
  userIdentifier
  handle
  config
  specification {
    identifier
    externalIdentifier
    name
  }
}

fragment AppVersionInfo on App {
  id
  key
  activeRoot {
    clientCredentials {
      secrets {
        key
      }
    }
  }
  activeRelease {
    id
    version {
      name
      appModules {
        ...ReleasedAppModule
      }
    }
  }
}

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.83.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

to https://app.shopify.com/app_management/unstable/organizations/129484768/graphql.json
2025-07-30T06:32:15.595Z: Request to https://app.shopify.com/app_management/unstable/organizations/129484768/graphql.json completed in 690 ms
With response headers:
 - content-type: application/json; charset=utf-8
 - server-timing: processing;dur=205, _y;desc="4c120734-c75d-468e-a110-67acc3ca6657", _s;desc="344b8c6a-dd1f-4e2b-8ab5-f56e7a9103d8", cfRequestDuration;dur=552.999735
 - x-request-id: 344a0133-6d39-4250-8a4c-927fc687c65a-1753857134
    
2025-07-30T06:32:15.598Z: Sending "BusinessPlatform" GraphQL request:
  query FindOrganizations($organizationId: OrganizationID!) {
  currentUserAccount {
    organization(id: $organizationId) {
      id
      name
      __typename
    }
    __typename
  }
}

With variables:
{
  "organizationId": "Z2lkOi8vb3JnYW5pemF0aW9uL09yZ2FuaXphdGlvbi8xMjk0ODQ3Njg="
}

With request headers:
 - User-Agent: Shopify CLI; v=3.83.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

to https://destinations.shopifysvc.com/destinations/api/2020-07/graphql
2025-07-30T06:32:15.603Z: Sending "App Management" GraphQL request:
  query fetchSpecifications {
  specifications {
    name
    identifier
    externalIdentifier
    features
    uidStrategy {
      appModuleLimit
      isClientProvided
      __typename
    }
    validationSchema {
      jsonSchema
      __typename
    }
    __typename
  }
}

With request headers:
 - User-Agent: Shopify CLI; v=3.83.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

to https://app.shopify.com/app_management/unstable/organizations/129484768/graphql.json
2025-07-30T06:32:16.410Z: Request to https://app.shopify.com/app_management/unstable/organizations/129484768/graphql.json completed in 808 ms
With response headers:
 - content-type: application/json; charset=utf-8
 - server-timing: processing;dur=417, _y;desc="ed06251c-4191-4440-916d-caa0b4e08e7f", _s;desc="16f6562d-c910-420c-ab08-b3292b83a2ad", cfRequestDuration;dur=778.000116
 - x-request-id: b86802e8-b171-48a2-9162-fff3431e783a-1753857135
    
2025-07-30T06:32:16.420Z: The following extension specifications were defined locally but not found in the remote specifications: product_subscription, tax_calculation
2025-07-30T06:32:16.420Z: The following extension specifications were found in the remote specifications but not defined locally: admin_app, app_link, app_nav_item, bulk_action, checkout_script_tag, flow_action_definition, flow_trigger_definition, flow_trigger_discovery_webhook, manage_marketplaces, marketing_action, merchandising_create_publication, merchandising_fulfillment_variant_details, ping_message_callback, pos_link, product_configuration_link, resource_publication_settings, retail_cart_promotion, retail_product_recommendation, subscription_link
2025-07-30T06:32:16.423Z: Reading the content of file at shopify.app.mathon-dev-miraklify-app.toml...
2025-07-30T06:32:16.423Z: Reading the content of file at shopify.app.mathon-prod-miraklify-app.toml...
2025-07-30T06:32:16.423Z: Reading the content of file at shopify.app.miraklify-app-dev.toml...
2025-07-30T06:32:16.423Z: Reading the content of file at shopify.app.mathon-testing-miraklify-app.toml...
2025-07-30T06:32:16.423Z: Reading the content of file at shopify.app.toml...
2025-07-30T06:32:16.423Z: Reading the content of file at shopify.app.vtwonen-prod-miraklify-app.toml...
2025-07-30T06:32:16.423Z: Reading the content of file at shopify.app.vtwonen-testing-miraklify-app.toml...
2025-07-30T06:32:16.427Z: Reading the content of file at .gitignore...
2025-07-30T06:32:16.434Z: Reading the .env file at .env.miraklify
2025-07-30T06:32:16.434Z: Reading the content of file at .env.miraklify...
2025-07-30T06:32:16.758Z: Reading the content of file at extensions/check-cart-max-items/shopify.extension.toml...
2025-07-30T06:32:16.758Z: Reading the content of file at extensions/debug-tools/shopify.extension.toml...
2025-07-30T06:32:16.758Z: Reading the content of file at extensions/discount-code-manager/shopify.extension.toml...
2025-07-30T06:32:16.758Z: Reading the content of file at extensions/gift-card-controller/shopify.extension.toml...
2025-07-30T06:32:16.758Z: Reading the content of file at extensions/hide-payment-methods-by-json-rules/shopify.extension.toml...
2025-07-30T06:32:16.759Z: Reading the content of file at extensions/hide-shipping-methods-by-json-rules/shopify.extension.toml...
2025-07-30T06:32:16.759Z: Reading the content of file at extensions/init-miraklify-extensions/shopify.extension.toml...
2025-07-30T06:32:16.759Z: Reading the content of file at extensions/mirakl-cart-validation/shopify.extension.toml...
2025-07-30T06:32:16.759Z: Reading the content of file at extensions/offer-product-with-coupon/shopify.extension.toml...
2025-07-30T06:32:16.759Z: Reading the content of file at extensions/operator-products-discount/shopify.extension.toml...
2025-07-30T06:32:16.759Z: Reading the content of file at extensions/premium-subscription/shopify.extension.toml...
2025-07-30T06:32:16.759Z: Reading the content of file at extensions/operator-shipping-discount/shopify.extension.toml...
2025-07-30T06:32:16.759Z: Reading the content of file at extensions/shipping-methods/shopify.extension.toml...
2025-07-30T06:32:16.759Z: Reading the content of file at extensions/save-operator-shipping-method/shopify.extension.toml...
2025-07-30T06:32:16.759Z: Reading the content of file at extensions/reorder-shipping-methods/shopify.extension.toml...
2025-07-30T06:32:16.759Z: Reading the content of file at extensions/thank-you-shipping-methods-summary/shopify.extension.toml...
2025-07-30T06:32:16.759Z: Reading the content of file at extensions/validate-checkout/shopify.extension.toml...
2025-07-30T06:32:16.759Z: Reading the content of file at extensions/validate-checkout-settings/shopify.extension.toml...
2025-07-30T06:32:16.766Z: Reading the content of file at extensions/check-cart-max-items/shopify.extension.toml...
2025-07-30T06:32:16.766Z: Reading the content of file at extensions/debug-tools/shopify.extension.toml...
2025-07-30T06:32:16.766Z: Reading the content of file at extensions/discount-code-manager/shopify.extension.toml...
2025-07-30T06:32:16.766Z: Reading the content of file at extensions/gift-card-controller/shopify.extension.toml...
2025-07-30T06:32:16.766Z: Reading the content of file at extensions/hide-payment-methods-by-json-rules/shopify.extension.toml...
2025-07-30T06:32:16.766Z: Reading the content of file at extensions/hide-shipping-methods-by-json-rules/shopify.extension.toml...
2025-07-30T06:32:16.766Z: Reading the content of file at extensions/init-miraklify-extensions/shopify.extension.toml...
2025-07-30T06:32:16.767Z: Reading the content of file at extensions/mirakl-cart-validation/shopify.extension.toml...
2025-07-30T06:32:16.767Z: Reading the content of file at extensions/operator-products-discount/shopify.extension.toml...
2025-07-30T06:32:16.767Z: Reading the content of file at extensions/offer-product-with-coupon/shopify.extension.toml...
2025-07-30T06:32:16.767Z: Reading the content of file at extensions/premium-subscription/shopify.extension.toml...
2025-07-30T06:32:16.767Z: Reading the content of file at extensions/operator-shipping-discount/shopify.extension.toml...
2025-07-30T06:32:16.767Z: Reading the content of file at extensions/shipping-methods/shopify.extension.toml...
2025-07-30T06:32:16.767Z: Reading the content of file at extensions/save-operator-shipping-method/shopify.extension.toml...
2025-07-30T06:32:16.767Z: Reading the content of file at extensions/reorder-shipping-methods/shopify.extension.toml...
2025-07-30T06:32:16.767Z: Reading the content of file at extensions/thank-you-shipping-methods-summary/shopify.extension.toml...
2025-07-30T06:32:16.767Z: Reading the content of file at extensions/validate-checkout/shopify.extension.toml...
2025-07-30T06:32:16.767Z: Reading the content of file at extensions/validate-checkout-settings/shopify.extension.toml...
2025-07-30T06:32:16.784Z: Reading the content of file at package.json...
2025-07-30T06:32:16.785Z: Reading the content of file at package.json...
2025-07-30T06:32:16.789Z: Running system process:
  ยท Command: npm prefix
  ยท Working directory: /home/renaud/www/miraklify-shopify-app

2025-07-30T06:32:16.866Z: Obtaining the dependency manager in directory /home/renaud/www/miraklify-shopify-app...
2025-07-30T06:32:16.866Z: Reading the content of file at package.json...
2025-07-30T06:32:16.867Z: Reading the content of file at .shopify/project.json...
2025-07-30T06:32:16.903Z: Reading the content of file at shopify.web.toml...
2025-07-30T06:32:16.907Z: Notifications to show: 0
2025-07-30T06:32:16.909Z: Reading cached app information for directory /home/renaud/www/miraklify-shopify-app...
2025-07-30T06:32:16.909Z: Storing app information for directory /home/renaud/www/miraklify-shopify-app:{
  "appId": "7d1d6786c5c0808bea6d61bd3e2afa2a",
  "title": "miraklify",
  "directory": "/home/renaud/www/miraklify-shopify-app",
  "orgId": "129484768"
}
2025-07-30T06:32:16.921Z: Sending "BusinessPlatform" GraphQL request:
  query ListAppDevStores($searchTerm: String) {
  organization {
    id
    name
    accessibleShops(
      filters: {field: STORE_TYPE, operator: EQUALS, value: "app_development"}
      search: $searchTerm
    ) {
      edges {
        node {
          id
          externalId
          name
          storeType
          primaryDomain
          shortName
          __typename
        }
        __typename
      }
      pageInfo {
        hasNextPage
        __typename
      }
      __typename
    }
    currentUser {
      organizationPermissions
      __typename
    }
    __typename
  }
}

With variables:
{}

With request headers:
 - User-Agent: Shopify CLI; v=3.83.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: linux
 - Content-Type: application/json

to https://destinations.shopifysvc.com/organizations/api/unstable/organization/129484768/graphql
2025-07-30T06:32:17.128Z: Request to https://destinations.shopifysvc.com/organizations/api/unstable/organization/129484768/graphql completed in 207 ms
With response headers:
 - cache-control: no-cache
 - content-type: text/html
 - server-timing: processing;dur=34, socket_queue;dur=1.483, util;dur=0.0, cfRequestDuration;dur=158.999920
 - x-request-id: d69cc8d7-08f8-4218-b4dc-046c5f0ad462-1753857136
    
2025-07-30T06:32:17.128Z: Ensuring that the user is authenticated with the App Management API with the following scopes:
[]

2025-07-30T06:32:17.128Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=7ee65a63608843c577db8b23c4d7316ea0a01bd2f7594f8a9c06ea668c1b775c&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Forganization.apps.manage&subject_token=****
With request headers:


2025-07-30T06:32:17.310Z: Request to https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=7ee65a63608843c577db8b23c4d7316ea0a01bd2f7594f8a9c06ea668c1b775c&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Forganization.apps.manage&subject_token=**** completed in 182 ms
With response headers:
 - cache-control: no-cache, no-store, private, must-revalidate, max-age=0
 - content-type: application/json; charset=utf-8
 - etag: W/"f803943494983b37fb9929897d78f80a"
 - server-timing: processing;dur=29, socket_queue;dur=1.658, edge;dur=1.035, util;dur=0.0, cfRequestDuration;dur=147.999763
 - x-request-id: c765c526-59d1-46d7-ad1f-bf8b864b1e8d-1753857137
    
2025-07-30T06:32:17.312Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=32ff8ee5-82b8-4d93-9f8a-c6997cefb7dc&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fdestinations.readonly&subject_token=****
With request headers:


2025-07-30T06:32:17.498Z: Request to https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=32ff8ee5-82b8-4d93-9f8a-c6997cefb7dc&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fdestinations.readonly&subject_token=**** completed in 186 ms
With response headers:
 - cache-control: no-cache, no-store, private, must-revalidate, max-age=0
 - content-type: application/json; charset=utf-8
 - etag: W/"84e78ae538bc4b953ec725d9b99388d2"
 - server-timing: processing;dur=38, socket_queue;dur=1.159, edge;dur=2.036, util;dur=0.0, cfRequestDuration;dur=154.999971
 - x-request-id: 3dafda93-62fe-48fe-9143-df50520bc892-1753857137
    
2025-07-30T06:32:17.685Z: Request to https://destinations.shopifysvc.com/organizations/api/unstable/organization/129484768/graphql completed in 186 ms
With response headers:
 - cache-control: no-cache
 - content-type: text/html
 - server-timing: processing;dur=37, socket_queue;dur=2.264, util;dur=0.16, cfRequestDuration;dur=153.999805
 - x-request-id: e03b7eb2-a9a6-4e85-9213-feed40d471c3-1753857137
    
โ•ญโ”€ error โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                                                                                     โ”‚
โ”‚  GraphQL Error (Code: 401):                                                                         โ”‚
โ”‚  {"response":{"error":"","status":401,"headers":{}},"request":{"query":"query                       โ”‚
โ”‚  ListAppDevStores($searchTerm: String) {\n  organization {\n    id\n    name\n                      โ”‚
โ”‚  accessibleShops(\n      filters: {field: STORE_TYPE, operator: EQUALS, value:                      โ”‚
โ”‚  \"app_development\"}\n      search: $searchTerm\n    ) {\n      edges {\n        node {\n          โ”‚
โ”‚    id\n          externalId\n          name\n          storeType\n          primaryDomain\n         โ”‚
โ”‚     shortName\n          __typename\n        }\n        __typename\n      }\n      pageInfo {\n     โ”‚
โ”‚       hasNextPage\n        __typename\n      }\n      __typename\n    }\n    currentUser {\n        โ”‚
โ”‚  organizationPermissions\n      __typename\n    }\n    __typename\n  }\n}","variables":{}}}         โ”‚
โ”‚                                                                                                     โ”‚
โ”‚  To investigate the issue, examine this stack trace:                                                โ”‚
โ”‚    at makeRequest (home/renaud/.nvm/versions/node/v20.19.0/lib/node_modules/@shopify/cli/dist/chun  โ”‚
โ”‚    k-DFABOPSU.js:27347)                                                                             โ”‚
โ”‚    at processTicksAndRejections (node:internal/process/task_queues:95)                              โ”‚
โ”‚    at rawGraphQLRequest [as request] (home/renaud/.nvm/versions/node/v20.19.0/lib/node_modules/@sh  โ”‚
โ”‚    opify/cli/dist/chunk-7EV36FNO.js:136561)                                                         โ”‚
โ”‚    at async runRequestWithNetworkLevelRetry (home/renaud/.nvm/versions/node/v20.19.0/lib/node_modu  โ”‚
โ”‚    les/@shopify/cli/dist/chunk-DFABOPSU.js:27402)                                                   โ”‚
โ”‚    at async makeVerboseRequest (home/renaud/.nvm/versions/node/v20.19.0/lib/node_modules/@shopify/  โ”‚
โ”‚    cli/dist/chunk-DFABOPSU.js:27413)                                                                โ”‚
โ”‚    at async retryAwareRequest (home/renaud/.nvm/versions/node/v20.19.0/lib/node_modules/@shopify/c  โ”‚
โ”‚    li/dist/chunk-DFABOPSU.js:27500)                                                                 โ”‚
โ”‚    at (home/renaud/.nvm/versions/node/v20.19.0/lib/node_modules/@shopify/cli/dist/chunk-7EV36FNO.j  โ”‚
โ”‚    s:136583)                                                                                        โ”‚
โ”‚    at (home/renaud/.nvm/versions/node/v20.19.0/lib/node_modules/@shopify/cli/dist/chunk-KPFBSWRK.j  โ”‚
โ”‚    s:30309)                                                                                         โ”‚
โ”‚    at devStoresForOrg                                                                               โ”‚
โ”‚    (home/renaud/.nvm/versions/node/v20.19.0/lib/node_modules/@shopify/cli/dist/index.js:216676)     โ”‚
โ”‚    at async storeContext                                                                            โ”‚
โ”‚    (home/renaud/.nvm/versions/node/v20.19.0/lib/node_modules/@shopify/cli/dist/index.js:224004)     โ”‚
โ”‚                                                                                                     โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

2025-07-30T06:32:17.748Z: Running system process:
  ยท Command: npm prefix
  ยท Working directory: /home/renaud/www/miraklify-shopify-app

2025-07-30T06:32:17.824Z: Obtaining the dependency manager in directory /home/renaud/www/miraklify-shopify-app...
2025-07-30T06:32:18.072Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 156 ms
With response headers:
 - x-request-id: 92536438-73cd-432d-91dd-e78009c5193b
    
2025-07-30T06:32:18.073Z: Analytics event sent: {
  "command": "app dev",
  "time_start": 1753857134488,
  "time_end": 1753857137741,
  "total_time": 3253,
  "success": false,
  "cli_version": "3.83.1",
  "ruby_version": "",
  "node_version": "20.19.0",
  "is_employee": false,
  "uname": "linux amd64",
  "env_ci": false,
  "env_plugin_installed_any_custom": false,
  "env_plugin_installed_shopify": "[\"@shopify/cli\"]",
  "env_shell": "zsh",
  "env_device_id": "ad5059726e81087582399701f1347029be65767c",
  "env_cloud": "localhost",
  "env_package_manager": "npm",
  "env_is_global": true,
  "env_auth_method": "partners_token",
  "env_is_wsl": false,
  "env_build_repository": "Shopify/cli",
  "cmd_app_warning_api_key_deprecation_displayed": false,
  "cmd_app_all_configs_any": true,
  "cmd_app_all_configs_clients": "{\"shopify.app.mathon-dev-miraklify-app.toml\":\"e00080ba223bbc6bce0bd49761a1a472\",\"shopify.app.mathon-prod-miraklify-app.toml\":\"9ac94459af0bef81c91ad59866fa172d\",\"shopify.app.mathon-testing-miraklify-app.toml\":\"91392dec9158f7c6b2ea9d0d12837195\",\"shopify.app.miraklify-app-dev.toml\":\"1f73c40928ef761aa2c796b1f686352d\",\"shopify.app.miraklify.toml\":\"7d1d6786c5c0808bea6d61bd3e2afa2a\",\"shopify.app.toml\":\"12e12e763a8dede6a5f892bf58dd6ff9\",\"shopify.app.vtwonen-prod-miraklify-app.toml\":\"72767fe53134e472e6b9775b28783ece\",\"shopify.app.vtwonen-testing-miraklify-app.toml\":\"8c4be99a205f2229236e9e8798d9fceb\"}",
  "cmd_app_linked_config_used": true,
  "cmd_app_linked_config_name": "shopify.app.miraklify.toml",
  "cmd_app_linked_config_git_tracked": true,
  "cmd_app_linked_config_source": "cached",
  "project_type": "node",
  "app_extensions_any": true,
  "app_extensions_breakdown": "{\"function\":7,\"ui_extension\":11}",
  "app_extensions_count": 18,
  "app_extensions_custom_layout": false,
  "app_extensions_function_any": true,
  "app_extensions_function_count": 7,
  "app_extensions_theme_any": false,
  "app_extensions_theme_count": 0,
  "app_extensions_ui_any": true,
  "app_extensions_ui_count": 11,
  "app_name_hash": "c25e8fc8c737b88dd67c60976725a01b59776a93",
  "app_path_hash": "d36b9ee6f2c24aa2ed22613c4f9a6cba82596c32",
  "app_scopes": "[\"write_app_proxy\",\"write_checkouts\",\"write_customers\",\"write_delivery_customizations\",\"write_discounts\",\"write_locations\",\"write_metaobject_definitions\",\"write_orders\",\"write_payment_customizations\",\"write_products\",\"write_shipping\",\"write_validations\"]",
  "app_web_backend_any": true,
  "app_web_backend_count": 1,
  "app_web_custom_layout": true,
  "app_web_framework": "remix",
  "app_web_frontend_any": true,
  "app_web_frontend_count": 1,
  "env_package_manager_workspaces": true,
  "business_platform_id": 129484768,
  "api_key": "****",
  "cmd_app_reset_used": false,
  "cmd_all_timing_network_ms": 2626,
  "cmd_all_timing_prompts_ms": 0,
  "cmd_all_launcher": "unknown",
  "cmd_all_topic": "app",
  "cmd_all_plugin": "@shopify/app",
  "cmd_all_verbose": true,
  "cmd_all_path_override": true,
  "cmd_all_path_override_hash": "d36b9ee6f2c24aa2ed22613c4f9a6cba82596c32",
  "cmd_app_dependency_installation_skipped": false,
  "cmd_dev_tunnel_type": "auto",
  "cmd_all_last_graphql_request_id": "e03b7eb2-a9a6-4e85-9213-feed40d471c3-1753857137",
  "cmd_all_timing_active_ms": 626,
  "cmd_all_exit": "unexpected_error",
  "user_id": "57c4cd31-f625-04ab-b112-85eda41063a7a4c8b6dd",
  "request_ids": [
    "344a0133-6d39-4250-8a4c-927fc687c65a-1753857134",
    "b86802e8-b171-48a2-9162-fff3431e783a-1753857135",
    "d69cc8d7-08f8-4218-b4dc-046c5f0ad462-1753857136",
    "e03b7eb2-a9a6-4e85-9213-feed40d471c3-1753857137"
  ],
  "args": "--verbose",
  "error_message": "GraphQL Error (Code: 401): {\"response\":{\"error\":\"\",\"status\":401,\"headers\":{}},\"request\":{\"query\":\"query ListAppDevStores($searchTerm: String) {\\n  organization {\\n    id\\n    name\\n    accessibleShops(\\n      filters: {field: STORE_TYPE, operator: EQUALS, value: \\\"app_development\\\"}\\n      search: $searchTerm\\n    ) {\\n      edges {\\n        node {\\n          id\\n          externalId\\n          name\\n          storeType\\n          primaryDomain\\n          shortName\\n          __typename\\n        }\\n        __typename\\n      }\\n      pageInfo {\\n        hasNextPage\\n        __typename\\n      }\\n      __typename\\n    }\\n    currentUser {\\n      organizationPermissions\\n      __typename\\n    }\\n    __typename\\n  }\\n}\",\"variables\":{}}}",
  "app_name": "miraklify-shopify-app",
  "env_plugin_installed_all": "[\"@shopify/cli\"]",
  "metadata": "{\"extraPublic\":{},\"extraSensitive\":{}}"
}
2025-07-30T06:32:18.086Z: Reporting unhandled error to Bugsnag: GraphQL Error (Code: 401): {"response":{"error":"","status":401,"headers":{}},"request":{"query":"query ListAppDevStores($searchTerm: String) {\n  organization {\n    id\n    name\n    accessibleShops(\n      filters: {field: STORE_TYPE, operator: EQUALS, value: \"app_development\"}\n      search: $searchTerm\n    ) {\n      edges {\n        node {\n          id\n          externalId\n          name\n          storeType\n          primaryDomain\n          shortName\n          __typename\n        }\n        __typename\n      }\n      pageInfo {\n        hasNextPage\n        __typename\n      }\n      __typename\n    }\n    currentUser {\n      organizationPermissions\n      __typename\n    }\n    __typename\n  }\n}","variables":{}}}
2025-07-30T06:32:18.324Z: Running system process:
  ยท Command: npm prefix
  ยท Working directory: /home/renaud/www/miraklify-shopify-app

2025-07-30T06:32:18.399Z: Obtaining the dependency manager in directory /home/renaud/www/miraklify-shopify-app...

I figure it out myself after several researchโ€ฆ
Our SHOPIFY_CLI_PARTNERS_TOKEN has expired during my holidays and was hardcoded in my bin config export SHOPIFY_CLI_PARTNERS_TOKEN=xxx
Thatโ€™s cause all the errors related to listing dev stores apparently.
I remove it and everything is back and work as expected

2 Likes

Glad to hear you figured it out @rndgf and thanks for posting your solution. If you run into any other issues, please create a new topic :slight_smile: