Repository navigation
[Bug]: shopify app deploy fails with "Version couldn't be created" with theme and web pixel extension. #6069
Description
Activity
Hi @themazim, I'm unfortunately not able to reproduce this error. Could you try one more time to rule out a flaky request and paste the verbose output again? Thanks!
Hi @themazim, I'm unfortunately not able to reproduce this error. Could you try one more time to rule out a flaky request and paste the verbose output again? Thanks!
thanks for checking. I tested again with a clean app. Added theme and web pixel extension again and had the same issue again.
Then I tested further and removed the theme extension just to be sure, and it seems a single web pixel extension fails. So maybe it is just related to the web pixel only.
The issue is, I still do not get proper output why it fails. either way. here is the full output with proper request IDs:
shopify app deploy --verbose
$ shopify app debug --verbose 2025-07-04T15:24:01.377Z: 'Did you mean' options: [{"score":5,"cmd":"app:dev"},{"score":5,"cmd":"app:deploy"},{"score":5,"cmd":"app:dev:clean"},{"score":5,"cmd":"hydrogen:debug:cpu"},{"score":4,"cmd":"app:build"},{"score":4,"cmd":"app:function:build"},{"score":4,"cmd":"app:webhook:trigger"},{"score":3,"cmd":"app:info"},{"score":3,"cmd":"app:init"},{"score":3,"cmd":"app:logs"},{"score":3,"cmd":"app:release"},{"score":3,"cmd":"app:env:pull"},{"score":3,"cmd":"app:env:show"},{"score":3,"cmd":"app:config:use"},{"score":3,"cmd":"app:config:link"},{"score":3,"cmd":"app:function:run"},{"score":3,"cmd":"app:logs:sources"},{"score":3,"cmd":"app:versions:list"},{"score":3,"cmd":"app:function:replay"},{"score":3,"cmd":"app:function:schema"},{"score":3,"cmd":"app:function:typegen"},{"score":3,"cmd":"app:import-extensions"},{"score":3,"cmd":"app:generate:extension"},{"score":2,"cmd":"theme:dev"},{"score":2,"cmd":"hydrogen:dev"},{"score":2,"cmd":"theme:delete"},{"score":2,"cmd":"hydrogen:deploy"}] ? Command `app debug` not found. Did you mean `app dev`? > (y) Yes, confirm (n) No, cancel Press ↑↓ arrows to select, enter or a shortcut to confirm. 2025-07-04T15:24:04.258Z: Killing process 70924: ps -o pid command --no-headers --ppid 70911 forge@dev-better-bounce:~/debug-again$ shopify app deploy --verbose 2025-07-04T15:24:11.898Z: Running command app deploy 2025-07-04T15:24:11.909Z: Running system process in background: · Command: /usr/bin/node /usr/bin/shopify notifications list --ignore-errors · Working directory: /home/forge/debug-again 2025-07-04T15:24:11.934Z: Notifications to show: 0 2025-07-04T15:24:11.956Z: Reading cached app information for directory /home/forge/debug-again... 2025-07-04T15:24:11.957Z: Reading the content of file at shopify.app.toml... 2025-07-04T15:24:11.962Z: Reading the content of file at shopify.app.toml... 2025-07-04T15:24:11.966Z: Reading cached app information for directory /home/forge/debug-again... 2025-07-04T15:24:11.967Z: Reading the content of file at shopify.app.toml... 2025-07-04T15:24:11.969Z: Reading the content of file at shopify.app.toml... 2025-07-04T15:24:11.971Z: Ensuring that the user is authenticated with the Partners API with the following scopes: [] 2025-07-04T15:24:11.972Z: Getting session store... 2025-07-04T15:24:11.974Z: 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-07-04T15:24:11.974Z: - Token validation -> It's expired: false 2025-07-04T15:24:11.975Z: Getting partner account info from cache 2025-07-04T15:24:11.982Z: 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.82.0 - Keep-Alive: timeout=30 - Sec-CH-UA-PLATFORM: linux - Content-Type: application/json to https://partners.shopify.com/api/cli/graphql 2025-07-04T15:24:12.753Z: Request to https://partners.shopify.com/api/cli/graphql completed in 769 ms With response headers: - cache-control: max-age=0, private, must-revalidate - content-type: application/json; charset=utf-8 - etag: W/"12055939e45cee8cbccfb35c462eb896" - server-timing: processing;dur=561, socket_queue;dur=2.225, util;dur=0.9, cfRequestDuration;dur=713.000059 - x-request-id: 71e706f0-8c89-4546-958a-101dcde50cf1-1751642652 2025-07-04T15:24:12.759Z: Sending "Partners" GraphQL request: query FindOrganization($id: ID!) { organizations(id: $id, first: 1) { nodes { id businessName } } } With variables: { "id": "2368202" } With request headers: - User-Agent: Shopify CLI; v=3.82.0 - Keep-Alive: timeout=30 - Sec-CH-UA-PLATFORM: linux - Content-Type: application/json to https://partners.shopify.com/api/cli/graphql 2025-07-04T15:24:12.909Z: Sending "Partners" GraphQL request: query fetchSpecifications($apiKey: String!) { extensionSpecifications(apiKey: $apiKey) { name externalName externalIdentifier identifier gated experience options { managementExperience registrationLimit } features { argo { surface } } validationSchema { jsonSchema } } } With variables: { "apiKey": "*****" } With request headers: - User-Agent: Shopify CLI; v=3.82.0 - Keep-Alive: timeout=30 - Sec-CH-UA-PLATFORM: linux - Content-Type: application/json to https://partners.shopify.com/api/cli/graphql 2025-07-04T15:24:13.215Z: Request to https://partners.shopify.com/api/cli/graphql completed in 306 ms With response headers: - cache-control: max-age=0, private, must-revalidate - content-type: application/json; charset=utf-8 - etag: W/"9af44f976738e1ba7550be4915afe001" - server-timing: processing;dur=101, socket_queue;dur=1.94, util;dur=0.4, cfRequestDuration;dur=256.999969 - x-request-id: 4d03bee4-38d2-4117-a7d0-f22533443180-1751642652 2025-07-04T15:24:13.254Z: The following extension specifications were defined locally but not found in the remote specifications: payments_extension, tax_calculation 2025-07-04T15:24:13.267Z: Reading the content of file at .gitignore... 2025-07-04T15:24:13.271Z: Reading the .env file at .env 2025-07-04T15:24:13.275Z: Reading the content of file at .env... 2025-07-04T15:24:13.285Z: Reading the content of file at extensions/web-pixel-test/shopify.extension.toml... 2025-07-04T15:24:13.290Z: Reading the content of file at package.json... 2025-07-04T15:24:13.291Z: Reading the content of file at package.json... 2025-07-04T15:24:13.298Z: Running system process: · Command: npm prefix · Working directory: /home/forge/debug-again 2025-07-04T15:24:13.496Z: Obtaining the dependency manager in directory /home/forge/debug-again... 2025-07-04T15:24:13.497Z: Reading the content of file at package.json... 2025-07-04T15:24:13.498Z: Reading the content of file at .shopify/project.json... 2025-07-04T15:24:13.504Z: Reading the content of file at shopify.web.toml... 2025-07-04T15:24:13.508Z: Notifications to show: 0 2025-07-04T15:24:13.511Z: Reading cached app information for directory /home/forge/debug-again... 2025-07-04T15:24:13.512Z: Storing app information for directory /home/forge/debug-again:{ "appId": "db9f2123734eefc362fb7b3e5c6238db", "title": "debug-again", "directory": "/home/forge/debug-again", "orgId": "2368202" } 2025-07-04T15:24:13.521Z: Sending "Partners" GraphQL request: query activeAppVersion($apiKey: String!) { app(apiKey: $apiKey) { activeAppVersion { appModuleVersions { registrationId registrationUuid registrationTitle type config specification { identifier name experience options { managementExperience } } } } } } With variables: { "apiKey": "*****" } With request headers: - User-Agent: Shopify CLI; v=3.82.0 - Keep-Alive: timeout=30 - Sec-CH-UA-PLATFORM: linux - Content-Type: application/json to https://partners.shopify.com/api/cli/graphql 2025-07-04T15:24:14.099Z: Request to https://partners.shopify.com/api/cli/graphql completed in 578 ms With response headers: - cache-control: max-age=0, private, must-revalidate - content-type: application/json; charset=utf-8 - etag: W/"f71f905e5168288aa8e95c03a3a9cf74" - server-timing: processing;dur=394, socket_queue;dur=1.786, util;dur=0.9, cfRequestDuration;dur=543.999910 - x-request-id: 2805bd40-77f5-4266-8738-e3532ec9e0eb-1751642653 ╭─ info ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ │ │ Using .env for default values: │ │ │ │ • Org: Gravity Technologies AG │ │ • App: debug-again │ │ • Include config: Yes │ │ │ │ You can pass `--reset` to your command to reset your app configuration. │ │ │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ 2025-07-04T15:24:14.267Z: Sending "Partners" GraphQL request: query allAppExtensionRegistrations($apiKey: String!) { app(apiKey: $apiKey) { extensionRegistrations { id uuid title type draftVersion { config context } activeVersion { config context } } configurationRegistrations { id uuid title type draftVersion { config context } activeVersion { config context } } dashboardManagedExtensionRegistrations { id uuid title type activeVersion { config context } draftVersion { config context } } } } With variables: { "apiKey": "*****" } With request headers: - User-Agent: Shopify CLI; v=3.82.0 - Keep-Alive: timeout=30 - Sec-CH-UA-PLATFORM: linux - Content-Type: application/json to https://partners.shopify.com/api/cli/graphql 2025-07-04T15:24:15.947Z: Request to https://partners.shopify.com/api/cli/graphql completed in 1679 ms With response headers: - cache-control: max-age=0, private, must-revalidate - content-type: application/json; charset=utf-8 - etag: W/"93791941eaf58e46d851dbeb699715f3" - server-timing: processing;dur=1488, socket_queue;dur=6.106, util;dur=0.2, cfRequestDuration;dur=1657.999992 - x-request-id: e933675a-ef56-4489-978c-a2ff7cec4535-1751642654 ? Release a new version of debug-again? ✔ Confirmed Releasing a new app version as part of debug-again 2025-07-04T15:24:19.654Z: Creating directory at .shopify... 2025-07-04T15:24:19.658Z: Removing directory at .shopify/deploy-bundle... 2025-07-04T15:24:19.664Z: Creating directory at .shopify/deploy-bundle... 2025-07-04T15:24:19.673Z: Deduplicating React dependency for /home/forge/debug-again/extensions/web-pixel-test, using /home/forge/debug-again/node_modules/react/index.js web-pixel-test │ Bundling UI extension web-pixel-test... web-pixel-test │ web-pixel-test successfully built 2025-07-04T15:24:19.706Z: Zipping .shopify/deploy-bundle into .shopify/deploy-bundle.zip ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Running validation ... 2025-07-04T15:24:19.744Z: Sending "Partners" GraphQL request: mutation GenerateSignedUploadUrl($apiKey: String!, $bundleFormat: Int!) { appVersionGenerateSignedUploadUrl(input: {apiKey: $apiKey, bundleFormat: $bundleFormat}) { signedUploadUrl userErrors { field message } } } With variables: { "apiKey": "*****", "bundleFormat": 1 } With request headers: - User-Agent: Shopify CLI; v=3.82.0 - Keep-Alive: timeout=30 - Sec-CH-UA-PLATFORM: linux - Content-Type: application/json ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Releasing an app version ... 2025-07-04T15:24:20.090Z: Request to https://partners.shopify.com/api/cli/graphql completed in 346 ms With response headers: - cache-control: max-age=0, private, must-revalidate - content-type: application/json; charset=utf-8 - etag: W/"d999002f823de3b3d914803998ec70ef" - server-timing: processing;dur=179, socket_queue;dur=2.571, util;dur=0.5, cfRequestDuration;dur=322.999954 - x-request-id: 04769992-e55c-4d73-bbe2-0e6e861a1096-1751642659 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Releasing an app version ... 2025-07-04T15:24:20.253Z: Request to https://partners-extensions-scripts-bucket.storage.googleapis.com/deployments/265009561601/aaf2fe6c-7cb9-4cb3-9259-1614aa4047f6/bundle.zip?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=argo-project-sa%40shopify-tiers.iam.gserviceaccount.com%2F20250704%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20250704T152419Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=host&X-Goog-Signature=2af5026021b77f2a845ce7ef0cb94812bd550b9f641e65215160123cddc75078e538110e7b818f45fbc670f0cbfffbb908f913ea5615eff06767405edbac231dc397359008ed3f5a1cac43d401e543a726aa2451d4b399a1a2d6f3df9e4d59c2e40f15a3b8d9f3f5417c04423277d70c303f9b61a53f8fe74a959201927c7a739aebf68f9981c5541e6d74c8caf96bd23b6edc552fc86a2e1a523e7e23ca808e4d16462e3fe1e0127f4027a4835bd313c2dde277c491751a5a0364a2a6e7e381f623aef33e8a352a600dba7934e4031bf0824892c9e81b18fa3f856e50e039a849beeca88ddd248d061da8a7f31298736e461f17dd545e7a199375185634d77b completed in 159 ms With response headers: ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Releasing an app version ... 2025-07-04T15:24:20.261Z: Sending "Partners" GraphQL request: mutation AppDeploy( $apiKey: String! $bundleUrl: String $appModules: [AppModuleSettings!] $skipPublish: Boolean $message: String $versionTag: String $commitReference: String ) { appDeploy( input: { apiKey: $apiKey bundleUrl: $bundleUrl appModules: $appModules skipPublish: $skipPublish message: $message versionTag: $versionTag commitReference: $commitReference } ) { appVersion { uuid id message versionTag location appModuleVersions { uuid registrationUuid validationErrors { message field } } } userErrors { message field category details } } } With variables: { "appId": "265009561601", "apiKey": "*****", "name": "debug-again", "skipPublish": false, "bundleUrl": "https://partners-extensions-scripts-bucket.storage.googleapis.com/deployments/265009561601/aaf2fe6c-7cb9-4cb3-9259-1614aa4047f6/bundle.zip?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=argo-project-sa%40shopify-tiers.iam.gserviceaccount.com%2F20250704%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20250704T152419Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=host&X-Goog-Signature=2af5026021b77f2a845ce7ef0cb94812bd550b9f641e65215160123cddc75078e538110e7b818f45fbc670f0cbfffbb908f913ea5615eff06767405edbac231dc397359008ed3f5a1cac43d401e543a726aa2451d4b399a1a2d6f3df9e4d59c2e40f15a3b8d9f3f5417c04423277d70c303f9b61a53f8fe74a959201927c7a739aebf68f9981c5541e6d74c8caf96bd23b6edc552fc86a2e1a523e7e23ca808e4d16462e3fe1e0127f4027a4835bd313c2dde277c491751a5a0364a2a6e7e381f623aef33e8a352a600dba7934e4031bf0824892c9e81b18fa3f856e50e039a849beeca88ddd248d061da8a7f31298736e461f17dd545e7a199375185634d77b", "appModules": [ { "config": "{\"runtime_context\":\"strict\",\"runtime_configuration_definition\":{\"type\":\"object\",\"fields\":{\"accountID\":{\"name\":\"Account ID\",\"description\":\"Account ID\",\"type\":\"single_line_text_field\",\"validations\":[{\"name\":\"min\",\"value\":\"1\"}]}}}}", "context": "", "handle": "web-pixel-test", "uuid": "e2a24c0d-9e2e-44ec-aded-f89ed2054514", "specificationIdentifier": "WEB_PIXEL_EXTENSION" }, { "config": "{\"scopes\":\"write_products\",\"redirect_url_allowlist\":[\"https://example.com/api/auth\"]}", "context": "", "handle": "app_access", "uuid": "74af65af-611b-4ad5-a506-eb05899619a2", "specificationIdentifier": "APP_ACCESS" }, { "config": "{\"api_version\":\"2025-07\"}", "context": "", "handle": "webhooks", "uuid": "b148fc20-eaf0-4c5f-8550-e55c74d2ceb0", "specificationIdentifier": "WEBHOOKS" }, { "config": "{\"embedded\":false}", "context": "", "handle": "point_of_sale", "uuid": "f37c5c2c-f2d7-48f0-b2a6-5fb9d00b6d85", "specificationIdentifier": "POINT_OF_SALE" }, { "config": "{\"app_url\":\"https://example.com/\",\"embedded\":true}", "context": "", "handle": "app_home", "uuid": "770d6edf-f1f8-4c4d-97d9-3d26861b1b1c", "specificationIdentifier": "APP_HOME" }, { "config": "{\"name\":\"debug-again\",\"app_handle\":\"debug-again\"}", "context": "", "handle": "branding", "uuid": "4f5ea8f1-4301-455b-828c-6f71387988bc", "specificationIdentifier": "BRANDING" }, { "config": "{\"topic\":\"app/scopes_update\",\"api_version\":\"2025-07\",\"uri\":\"https://example.com/webhooks/app/scopes_update\"}", "context": "", "handle": "4103dafc7ac513f42a23183acf8fae610f56f29e", "uuid": "7575a075-820a-415a-978d-f803c811a4ee", "specificationIdentifier": "WEBHOOK_SUBSCRIPTION" }, { "config": "{\"topic\":\"app/uninstalled\",\"api_version\":\"2025-07\",\"uri\":\"https://example.com/webhooks/app/uninstalled\"}", "context": "", "handle": "09711dbb6e24902b5a6cc0eb5164b8e4d2301cbf", "uuid": "052bf8bb-07de-4c93-a848-06cb39e4f8bf", "specificationIdentifier": "WEBHOOK_SUBSCRIPTION" } ] } With request headers: - User-Agent: Shopify CLI; v=3.82.0 - Keep-Alive: timeout=30 - Sec-CH-UA-PLATFORM: linux - Content-Type: application/json ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Releasing an app version ... 2025-07-04T15:24:20.933Z: Request to https://partners.shopify.com/api/cli/graphql completed in 672 ms With response headers: - cache-control: max-age=0, private, must-revalidate - content-type: application/json; charset=utf-8 - etag: W/"00bbbb03539261b6d393e15ea76e07e5" - server-timing: processing;dur=515, socket_queue;dur=3.444, util;dur=0.8, cfRequestDuration;dur=656.000137 ╭─ error ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ │ │ Version couldn't be created. │ │ │ │ There was an error creating an app version. │ │ │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ 2025-07-04T15:24:20.955Z: Running system process: · Command: npm prefix · Working directory: /home/forge/debug-again 2025-07-04T15:24:21.111Z: Obtaining the dependency manager in directory /home/forge/debug-again... 2025-07-04T15:24:21.476Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 186 ms With response headers: - x-request-id: 4ae068d9-d0a7-4bbd-8da1-60a458b4fa99 2025-07-04T15:24:21.477Z: Analytics event sent: { "command": "app deploy", "time_start": 1751642651898, "time_end": 1751642660944, "total_time": 9046, "success": false, "cli_version": "3.82.0", "ruby_version": "", "node_version": "22.17.0", "is_employee": false, "uname": "linux arm64", "env_ci": false, "env_plugin_installed_any_custom": false, "env_plugin_installed_shopify": "[\"@shopify/cli\"]", "env_shell": "bash", "env_device_id": "53bcf023a3375353d8022460c25252b236ed180d", "env_cloud": "localhost", "env_package_manager": "npm", "env_is_global": true, "env_auth_method": "device_auth", "env_is_wsl": false, "cmd_app_warning_api_key_deprecation_displayed": false, "cmd_deploy_flag_message_used": false, "cmd_deploy_flag_version_used": false, "cmd_deploy_flag_source_url_used": false, "cmd_app_all_configs_any": true, "cmd_app_all_configs_clients": "{\"shopify.app.toml\":\"db9f2123734eefc362fb7b3e5c6238db\"}", "cmd_app_linked_config_used": true, "cmd_app_linked_config_name": "shopify.app.toml", "cmd_app_linked_config_git_tracked": true, "cmd_app_linked_config_source": "cached", "project_type": "node", "app_extensions_any": true, "app_extensions_breakdown": "{\"web_pixel_extension\":1}", "app_extensions_count": 1, "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": true, "app_extensions_ui_count": 1, "app_name_hash": "9e0310934265919f2bc8727cb4e2d3bd310d94c4", "app_path_hash": "263ca8efcb8b541587e731836703a8e57c63732d", "app_scopes": "[\"write_products\"]", "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, "partner_id": 2368202, "api_key": "****", "cmd_app_reset_used": false, "cmd_deploy_include_config_used": true, "cmd_deploy_config_modules_breakdown": "[\"access_scopes\",\"application_url\",\"auth\",\"embedded\",\"handle\",\"name\",\"pos\",\"webhooks\"]", "cmd_deploy_confirm_new_registrations": 1, "cmd_deploy_confirm_updated_registrations": 0, "cmd_deploy_confirm_removed_registrations": 1, "cmd_deploy_confirm_cancelled": false, "cmd_deploy_confirm_time_to_complete_ms": 3692, "cmd_all_timing_network_ms": 4512, "cmd_all_timing_prompts_ms": 3691, "cmd_all_launcher": "unknown", "cmd_all_topic": "app", "cmd_all_plugin": "@shopify/app", "cmd_all_force": false, "cmd_all_verbose": true, "cmd_all_path_override": true, "cmd_all_path_override_hash": "263ca8efcb8b541587e731836703a8e57c63732d", "cmd_all_last_graphql_request_id": "943cdc4c-bd6c-407e-9c5d-0160a991140b-1751642660", "cmd_all_timing_active_ms": 841, "cmd_all_exit": "expected_error", "user_id": "360a61e1-48d3-4226-9b80-042ec08455cf", "request_ids": [ "71e706f0-8c89-4546-958a-101dcde50cf1-1751642652", "4d03bee4-38d2-4117-a7d0-f22533443180-1751642652", "2805bd40-77f5-4266-8738-e3532ec9e0eb-1751642653", "e933675a-ef56-4489-978c-a2ff7cec4535-1751642654", "04769992-e55c-4d73-bbe2-0e6e861a1096-1751642659", "943cdc4c-bd6c-407e-9c5d-0160a991140b-1751642660" ], "args": "--verbose", "error_message": "Version couldn't be created.", "app_name": "debug-again", "env_plugin_installed_all": "[\"@shopify/cli\"]", "metadata": "{\"extraPublic\":{},\"extraSensitive\":{}}" } 2025-07-04T15:24:21.487Z: Reporting handled error to Bugsnag: Version couldn't be created. 2025-07-04T15:24:21.971Z: Running system process: · Command: npm prefix · Working directory: /home/forge/debug-again 2025-07-04T15:24:22.126Z: Obtaining the dependency manager in directory /home/forge/debug-again...edit:
I tested this once again with another machine (@shopify/cli/3.81.2 darwin-arm64 node-v22.14.0) and there the issue does not exist. also updated to latest version too (@shopify/cli/3.82.0 darwin-arm64 node-v22.14.0) still no issue here.
I tried to replicate the issue on an x64 server with the exact same setup. no issue there. was able to deploy the extensions there.
Not sure if it is actual an issue with ubuntu 24 on ARM or a hiccup with the setup. Either way. hope this info helps.
I just ran into the issue again, but this time on a x64 server, so this is not related to ARM.
I basically pulled and app and tried to setup (relink it) a staging env.
Some more information, it seems this issue happens usually if a app re-linked by using:
shopify app config linkAfterwards every try to deploy an extension ends in the mentioned error.
I wasn't able to reproduce either, tried to follow the same steps (deploying after a
config link), but it works fine for me 🤔Looking at the logs I think it could be related to the upload of the extension built files, if they are not uploaded correctly to GCS, then the version creation will fail.
Do you have some full reproduction steps I can follow? from app creation to deploy i mean.
github-actions commented
on Aug 22, 2025 on Aug 22, 2025 – with GitHub ActionsContributorMore actionsThis issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action.
→ If there's no activity within a week, then a bot will automatically close this.
Thanks for helping to improve Shopify's dev tooling and experience.P.S. You can learn more about why we stale issues here.
Still reproducing on
@shopify/[email protected](2026-07-18) — minimal repro: adding a singleweb_pixel_extensionfails atappVersionCreate.Version couldn't be created. Only one script can be uploaded at a timeIsolation on a brand-new app (first deploys):
extensions/containsResult web_pixel_extensiononly❌ Only one script can be uploaded at a timethemeapp extension only✅ deploys fine both ❌ same error The web pixel fails alone, so it's not the theme+pixel combination or app-specific state. In the latest run the theme was already registered on the app (from the theme-only deploy above), so the deploy adds only the web pixel — telemetry shows
cmd_deploy_confirm_new_registrations: 1— and it still fails. It's the web pixel registration Shopify rejects.Regression: the identical source deployed successfully 8× before (last release 2026-05-15); reverting to that exact known-good source and redeploying today still fails — nothing changed on our end.
Ruled out: our code (known-good source fails) · duplicate extension (dashboard shows 1 pixel + 1 theme) · CLI version (fails on
3.94.3and4.5.2) · the combo (pixel fails alone) · stuck app state (a brand-new app fails identically).Env:
@shopify/cli4.5.2 (also 3.94.3), node 22.18.0, darwin arm64.For triage — the CLI logs only the
appVersionCreateresponse headers, not the body, so theuserErrors(code/field) never surface. Please check the server-side response for:appVersionCreaterequest id98c288f9-0eb6-42bd-8a46-9704ed6ce15e-1784353981, appgid://shopify/App/399310225409(fresh repro, 2026-07-18)- earlier repro: request id
2a2cb818-5b6e-40ea-90c1-2b604c0e231e-1784306225, appgid://shopify/App/361870950401
had same issue, the problem was that my extension folder had a "extensions/pixel/dist" directory, i deleted the directory and it worked.
Please confirm that you have:
In which of these areas are you experiencing a problem?
Extension, Other
Expected behavior
When an app has 2 extensions (theme & web pixel) "shopify app deploy" shall be able to deploy both extensions without issue.
Actual behavior
When both extensions are present, the deployment process fails and no extension is deployed with:
No additional information is given why it failed.
Verbose output
shopify app deploy --verbose
Reproduction steps
shopify app initshopify app generate extension-> select "Theme app extension" and add a nameshopify app generate extension-> select "Web pixel" and add a nameOperating System
Ubuntu 24.04.2 LTS (ARM)
Shopify CLI version (
shopify --version)@shopify/cli/3.82.0 linux-arm64 node-v22.17.0
Shell
bash
Node version (run
node -vif you're not sure)v22.17.0
What language and version are you using in your application?
Shopoify remix template with javascript