cli icon indicating copy to clipboard operation
cli copied to clipboard

[Bug]: Manual deletion of an admin link extension - Cannot deploy the app anymore

Open skoulix opened this issue 4 months ago • 0 comments

Please confirm that you have:

  • [x] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
  • [x] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?

App

Expected behavior

shopify app deploy should have worked

Actual behavior

get an error message

Verbose output

2024-10-08T08:22:44.694Z: Running command app deploy 2024-10-08T08:22:44.703Z: Reading cached app information for directory /Users/evan/Sites/Seapixel/applify/apps/snap-login... 2024-10-08T08:22:44.704Z: Reading the content of file at shopify.app.toml... 2024-10-08T08:22:44.706Z: Reading the content of file at shopify.app.toml... 2024-10-08T08:22:44.710Z: Reading the content of file at shopify.app.development.toml... 2024-10-08T08:22:44.793Z: Reading the .env file at .env 2024-10-08T08:22:44.793Z: Reading the content of file at .env... 2024-10-08T08:22:44.801Z: Reading the content of file at extensions/login-as-customer/shopify.extension.toml... 2024-10-08T08:22:44.801Z: Reading the content of file at extensions/theme/shopify.extension.toml... 2024-10-08T08:22:44.802Z: Reading the content of file at extensions/login-as-customer/shopify.extension.toml... 2024-10-08T08:22:44.803Z: Reading the content of file at package.json... 2024-10-08T08:22:44.804Z: Reading the content of file at package.json... 2024-10-08T08:22:44.806Z: Running system process: · Command: npm prefix · Working directory: /Users/evan/Sites/Seapixel/applify/apps/snap-login

2024-10-08T08:22:44.906Z: Obtaining the dependency manager in directory /Users/evan/Sites/Seapixel/applify/apps/snap-login... 2024-10-08T08:22:45.004Z: Reading the content of file at app/shopify.web.toml... 2024-10-08T08:22:45.006Z: Reading the content of file at package.json... 2024-10-08T08:22:45.008Z: Reading cached app information for directory /Users/evan/Sites/Seapixel/applify/apps/snap-login... 2024-10-08T08:22:45.009Z: Ensuring that the user is authenticated with the Partners API with the following scopes: []

2024-10-08T08:22:45.009Z: Getting session store... 2024-10-08T08:22:45.009Z: 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" ] For applications: { "partnersApi": { "scopes": [] } }

2024-10-08T08:22:45.010Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection 2024-10-08T08:22:45.010Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection With request headers:

  • User-Agent: Shopify CLI; v=3.68.0
  • Keep-Alive: timeout=30
  • Sec-CH-UA-PLATFORM: darwin
  • Content-Type: application/json

2024-10-08T08:22:45.307Z: Request to https://accounts.shopify.com/oauth/introspection completed in 296 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/"63e8cef7fa89f5abfc52c5729e1e82f5"
  • server-timing: processing;dur=36, socket_queue;dur=1.043, edge;dur=2.023, util;dur=0.15, cfRequestDuration;dur=228.999853
  • x-request-id: 292c34cb-bece-4244-b7a4-e5737a9c97ca-1728375765

2024-10-08T08:22:45.309Z: The identity token is valid: true 2024-10-08T08:22:45.309Z: The validation of the token for application/identity completed with the following results:

  • It's expired: false
  • It's invalid in identity: false

2024-10-08T08:22:45.309Z: Verifying that the user has a Partner organization 2024-10-08T08:22:45.309Z: Confirmed partner account exists from cache 2024-10-08T08:22:45.310Z: Getting partner account info from cache 2024-10-08T08:22:45.315Z: 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.68.0
  • Keep-Alive: timeout=30
  • Sec-CH-UA-PLATFORM: darwin
  • Content-Type: application/json

2024-10-08T08:22:46.046Z: Request to https://partners.shopify.com/api/cli/graphql completed in 730 ms With response headers:

  • cache-control: max-age=0, private, must-revalidate
  • content-type: application/json; charset=utf-8
  • etag: W/"bd47b6f0489a9d34875162d8cb71e19b"
  • server-timing: processing;dur=444, socket_queue;dur=1.717, util;dur=0.5, cfRequestDuration;dur=608.999968
  • x-request-id: 87593f14-de76-4362-a793-970b06edd148-1728375765

2024-10-08T08:22:46.052Z: 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.68.0
  • Keep-Alive: timeout=30
  • Sec-CH-UA-PLATFORM: darwin
  • Content-Type: application/json

2024-10-08T08:22:46.613Z: Request to https://partners.shopify.com/api/cli/graphql completed in 561 ms With response headers:

  • cache-control: max-age=0, private, must-revalidate
  • content-type: application/json; charset=utf-8
  • etag: W/"308945568250a87e20c962175f0ef49a"
  • server-timing: processing;dur=351, socket_queue;dur=2.484, util;dur=0.5, cfRequestDuration;dur=509.999990
  • x-request-id: 908a14f4-01ca-4802-9bb1-01e2f454b78e-1728375766

2024-10-08T08:22:46.618Z: Sending "Partners" GraphQL request: query fetchSpecifications($api_key: String!) { extensionSpecifications(apiKey: $api_key) { name externalName externalIdentifier identifier gated experience options { managementExperience registrationLimit } features { argo { surface } } validationSchema { jsonSchema } } }

With variables: { "api_key": "e8d7f29eb62381c1da460b815af31084" }

With request headers:

  • User-Agent: Shopify CLI; v=3.68.0
  • Keep-Alive: timeout=30
  • Sec-CH-UA-PLATFORM: darwin
  • Content-Type: application/json

2024-10-08T08:22:47.409Z: Request to https://partners.shopify.com/api/cli/graphql completed in 791 ms With response headers:

  • cache-control: max-age=0, private, must-revalidate
  • content-type: application/json; charset=utf-8
  • etag: W/"c61a46a3d2c1b03952321a481c80de37"
  • server-timing: processing;dur=207, socket_queue;dur=313.414, util;dur=2.3, cfRequestDuration;dur=675.999880
  • x-request-id: 6e3e8a67-24ed-4041-83db-7fd035b45a4e-1728375766

2024-10-08T08:22:47.418Z: The following extension specifications were defined locally but not found in the remote specifications: data, payments_extension, tax_calculation 2024-10-08T08:22:47.418Z: The following extension specifications were found in the remote specifications but not defined locally: cloud_terminal_management 2024-10-08T08:22:47.420Z: Reading cached app information for directory /Users/evan/Sites/Seapixel/applify/apps/snap-login... 2024-10-08T08:22:47.421Z: Reading the content of file at shopify.app.toml... 2024-10-08T08:22:47.422Z: Reading the content of file at shopify.app.toml... 2024-10-08T08:22:47.425Z: Reading the content of file at shopify.app.development.toml... 2024-10-08T08:22:47.501Z: Reading the .env file at .env 2024-10-08T08:22:47.501Z: Reading the content of file at .env... 2024-10-08T08:22:47.506Z: Reading the content of file at extensions/login-as-customer/shopify.extension.toml... 2024-10-08T08:22:47.506Z: Reading the content of file at extensions/theme/shopify.extension.toml... 2024-10-08T08:22:47.507Z: Reading the content of file at extensions/login-as-customer/shopify.extension.toml... 2024-10-08T08:22:47.507Z: Reading the content of file at package.json... 2024-10-08T08:22:47.508Z: Reading the content of file at package.json... 2024-10-08T08:22:47.510Z: Running system process: · Command: npm prefix · Working directory: /Users/evan/Sites/Seapixel/applify/apps/snap-login

2024-10-08T08:22:47.615Z: Obtaining the dependency manager in directory /Users/evan/Sites/Seapixel/applify/apps/snap-login... 2024-10-08T08:22:47.616Z: Reading the content of file at app/shopify.web.toml... 2024-10-08T08:22:47.617Z: Reading the content of file at package.json... 2024-10-08T08:22:47.622Z: Sending "Partners" GraphQL request: query FindOrganization($id: ID!) { organizations(id: $id, first: 1) { nodes { id businessName } } }

With variables: { "id": "1557984" }

With request headers:

  • User-Agent: Shopify CLI; v=3.68.0
  • Keep-Alive: timeout=30
  • Sec-CH-UA-PLATFORM: darwin
  • Content-Type: application/json

2024-10-08T08:22:48.009Z: Request to https://partners.shopify.com/api/cli/graphql completed in 387 ms With response headers:

  • cache-control: max-age=0, private, must-revalidate
  • content-type: application/json; charset=utf-8
  • etag: W/"c4c87b0e9d3180c0962929be68a12ec5"
  • server-timing: processing;dur=87, socket_queue;dur=2.375, util;dur=0.3, cfRequestDuration;dur=263.999939
  • x-request-id: 9638e7f3-e52b-4749-b477-54b2e85c2a24-1728375767

╭─ info ────────────────────────────────────────────────────────────────────────────────────╮ │ │ │ Using .env for default values: │ │ │ │ • Org: Seapixel │ │ • App: Snap Login │ │ • Include config: Yes │ │ │ │ You can pass --reset to your command to reset your app configuration. │ │ │ ╰───────────────────────────────────────────────────────────────────────────────────────────╯

2024-10-08T08:22:48.054Z: 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.68.0
  • Keep-Alive: timeout=30
  • Sec-CH-UA-PLATFORM: darwin
  • Content-Type: application/json

2024-10-08T08:22:49.328Z: Request to https://partners.shopify.com/api/cli/graphql completed in 1273 ms With response headers:

  • cache-control: max-age=0, private, must-revalidate
  • content-type: application/json; charset=utf-8
  • etag: W/"f3fcd8bf3064087dd43f6e28a7ff7890"
  • server-timing: processing;dur=1055, socket_queue;dur=2.457, util;dur=0.5, cfRequestDuration;dur=1215.000153
  • x-request-id: 0f615031-960f-47bd-b734-c5d364406d21-1728375768

? Release a new version of Snap Login? ✔ Confirmed

Releasing a new app version as part of Snap Login

2024-10-08T08:22:53.999Z: Creating directory at /private/var/folders/81/400gbvkn69n74qy2sgy4xzjm0000gn/T/c154025939f222745a43625fc140007a... 2024-10-08T08:22:54.000Z: Sync-creating directory at /private/var/folders/81/400gbvkn69n74qy2sgy4xzjm0000gn/T/1e66aa13d871772f224253bc7c967199/bundle... 2024-10-08T08:22:54.001Z: Creating an empty file at /private/var/folders/81/400gbvkn69n74qy2sgy4xzjm0000gn/T/1e66aa13d871772f224253bc7c967199/bundle/.shopify... 2024-10-08T08:22:54.009Z: Deduplicating React dependency for /Users/evan/Sites/Seapixel/applify/apps/snap-login/extensions/login-as-customer, using /Users/evan/Sites/Seapixel/applify/node_modules/.pnpm/[email protected]/node_modules/react/index.js login-as-customer │ Bundling UI extension login-as-customer... login-helper │ Running theme check on your Theme app extension... login-as-customer │ login-as-customer successfully built login-helper │ login-helper │ Bundling theme extension login-helper... 2024-10-08T08:22:54.226Z: Copying file from extensions/theme/assets/login-helper.css to /private/var/folders/81/400gbvkn69n74qy2sgy4xzjm0000gn/T/1e66aa13d871772f224253bc7c967199/bundle/c5cedc86-882b-423c-a85b-e43a889175f1/assets/login-helper.css... 2024-10-08T08:22:54.227Z: Copying file from extensions/theme/assets/login-helper.js to /private/var/folders/81/400gbvkn69n74qy2sgy4xzjm0000gn/T/1e66aa13d871772f224253bc7c967199/bundle/c5cedc86-882b-423c-a85b-e43a889175f1/assets/login-helper.js... 2024-10-08T08:22:54.227Z: Copying file from extensions/theme/blocks/app-embed.liquid to /private/var/folders/81/400gbvkn69n74qy2sgy4xzjm0000gn/T/1e66aa13d871772f224253bc7c967199/bundle/c5cedc86-882b-423c-a85b-e43a889175f1/blocks/app-embed.liquid... 2024-10-08T08:22:54.227Z: Copying file from extensions/theme/locales/de.schema.json to /private/var/folders/81/400gbvkn69n74qy2sgy4xzjm0000gn/T/1e66aa13d871772f224253bc7c967199/bundle/c5cedc86-882b-423c-a85b-e43a889175f1/locales/de.schema.json... 2024-10-08T08:22:54.227Z: Copying file from extensions/theme/locales/en.default.schema.json to /private/var/folders/81/400gbvkn69n74qy2sgy4xzjm0000gn/T/1e66aa13d871772f224253bc7c967199/bundle/c5cedc86-882b-423c-a85b-e43a889175f1/locales/en.default.schema.json... 2024-10-08T08:22:54.227Z: Copying file from extensions/theme/locales/es.schema.json to /private/var/folders/81/400gbvkn69n74qy2sgy4xzjm0000gn/T/1e66aa13d871772f224253bc7c967199/bundle/c5cedc86-882b-423c-a85b-e43a889175f1/locales/es.schema.json... 2024-10-08T08:22:54.227Z: Copying file from extensions/theme/locales/fr.schema.json to /private/var/folders/81/400gbvkn69n74qy2sgy4xzjm0000gn/T/1e66aa13d871772f224253bc7c967199/bundle/c5cedc86-882b-423c-a85b-e43a889175f1/locales/fr.schema.json... 2024-10-08T08:22:54.227Z: Copying file from extensions/theme/locales/it.schema.json to /private/var/folders/81/400gbvkn69n74qy2sgy4xzjm0000gn/T/1e66aa13d871772f224253bc7c967199/bundle/c5cedc86-882b-423c-a85b-e43a889175f1/locales/it.schema.json...

2024-10-08T08:22:54.230Z: Zipping /private/var/folders/81/400gbvkn69n74qy2sgy4xzjm0000gn/T/1e66aa13d871772f224253bc7c967199/bundle into /private/var/folders/81/400gbvkn69n74qy2sgy4xzjm0000gn/T/c154025939f222745a43625fc140007a/bundle.zip 2024-10-08T08:22:54.255Z: Getting the size of file file at extensions/theme/assets/login-helper.css... 2024-10-08T08:22:54.255Z: Getting the size of file file at extensions/theme/assets/login-helper.js... 2024-10-08T08:22:54.255Z: Getting the size of file file at extensions/theme/blocks/app-embed.liquid... 2024-10-08T08:22:54.255Z: Getting the size of file file at extensions/theme/locales/de.schema.json... 2024-10-08T08:22:54.256Z: Getting the size of file file at extensions/theme/locales/en.default.schema.json... 2024-10-08T08:22:54.256Z: Getting the size of file file at extensions/theme/locales/es.schema.json... 2024-10-08T08:22:54.256Z: Getting the size of file file at extensions/theme/locales/fr.schema.json... 2024-10-08T08:22:54.256Z: Getting the size of file file at extensions/theme/locales/it.schema.json... 2024-10-08T08:22:54.258Z: 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.68.0
  • Keep-Alive: timeout=30
  • Sec-CH-UA-PLATFORM: darwin
  • Content-Type: application/json

2024-10-08T08:22:54.765Z: Request to https://partners.shopify.com/api/cli/graphql completed in 506 ms With response headers:

  • cache-control: max-age=0, private, must-revalidate
  • content-type: application/json; charset=utf-8
  • etag: W/"83e1c5e646969a53693be981a83233a2"
  • server-timing: processing;dur=198, socket_queue;dur=2.607, util;dur=0.5, cfRequestDuration;dur=380.000114
  • x-request-id: a3df231b-820d-4720-ba96-8b14144c2547-1728375774

2024-10-08T08:22:54.766Z: Sync-reading the content of file at /private/var/folders/81/400gbvkn69n74qy2sgy4xzjm0000gn/T/c154025939f222745a43625fc140007a/bundle.zip... 2024-10-08T08:22:55.196Z: Request to https://partners-extensions-scripts-bucket.storage.googleapis.com/deployments/3832355/40f90152-ef38-40d0-9898-573ee94ad724/bundle.zip?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=argo-project-sa%40shopify-tiers.iam.gserviceaccount.com%2F20241008%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20241008T082254Z&X-Goog-Expires=300&X-Goog-SignedHeaders=host&X-Goog-Signature=11d029f2cd8984524562ee45db6809372603b101c6db49ac89a4896aa7eb00408b4af78c39ebf60073ea4a3a6f1cb00d0eb223b35e215771252fd9c3f10290b58fecbb14840751eef08604de06dfd2674bfda0c23b1ef2cd0588adb4804af4707c9eae7237f256e7e02a36ca7704783c9c68b86c81afbe5e60939a74cb89c2c8151858340e64e98ec790c6b692ab93f5784394762eb368a7321b872b144708bb9ed8f22ffb2640e2d10100712418ed22af0d2750606b0cb78c502f503afbcce224afbc156f66903d0ca64cfa1c69ae0f57d6902a7ecffb63a49c0b4447419aa7bd215503f3ba4074df831bec8aff1c6ec9e8b7b9aba1929c2fbe1acc50acadb1 completed in 429 ms With response headers:

  • content-type: text/html; charset=UTF-8
  • etag: "b5e4b522c8e056340d47a9817efeec23"

2024-10-08T08:22:55.200Z: 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": "3832355", "apiKey": "*****", "name": "snap-login", "skipPublish": false, "bundleUrl": "https://partners-extensions-scripts-bucket.storage.googleapis.com/deployments/3832355/40f90152-ef38-40d0-9898-573ee94ad724/bundle.zip?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=argo-project-sa%40shopify-tiers.iam.gserviceaccount.com%2F20241008%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20241008T082254Z&X-Goog-Expires=300&X-Goog-SignedHeaders=host&X-Goog-Signature=11d029f2cd8984524562ee45db6809372603b101c6db49ac89a4896aa7eb00408b4af78c39ebf60073ea4a3a6f1cb00d0eb223b35e215771252fd9c3f10290b58fecbb14840751eef08604de06dfd2674bfda0c23b1ef2cd0588adb4804af4707c9eae7237f256e7e02a36ca7704783c9c68b86c81afbe5e60939a74cb89c2c8151858340e64e98ec790c6b692ab93f5784394762eb368a7321b872b144708bb9ed8f22ffb2640e2d10100712418ed22af0d2750606b0cb78c502f503afbcce224afbc156f66903d0ca64cfa1c69ae0f57d6902a7ecffb63a49c0b4447419aa7bd215503f3ba4074df831bec8aff1c6ec9e8b7b9aba1929c2fbe1acc50acadb1", "appModules": [ { "config": "{"api_version":"2024-10","extension_points":[{"target":"admin.customer-details.action.render","module":"./src/ActionExtension.js","metafields":[]}],"name":"t:name","localization":{"default_locale":"en","translations":{"de":"ewoJImNsb3NlIjogIlNjaGxpZcOfZW4gU2ll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GEgdW4gdmFsb3JlIGVycmF0by4gVmlzaXRhcmUgbGEgc2V6aW9uZSBkZWxsZSBpbXBvc3RhemlvbmkgZGVsbCdhcHAgZSByZWdvbGFyZSBpbCB2YWxvcmUgZGVsIE11bHRpcGFzcy4iLAoJImxvZ2luIjogIkFjY2Vzc28iLAoJIm5hbWUiOiAiQWNjZXNzbyBjb21lIGNsaWVudGUiCn0K"}}}", "context": "admin.customer-details.action.render", "handle": "login-as-customer", "uuid": "41c565ad-1b41-44ea-8090-1ea29d9b8937", "specificationIdentifier": "UI_EXTENSION" }, { "config": "{"theme_extension":{"files":{}}}", "context": "", "handle": "login-helper", "uuid": "c5cedc86-882b-423c-a85b-e43a889175f1", "specificationIdentifier": "THEME_APP_EXTENSION" }, { "config": "{"name":"Snap Login","app_handle":"snap-login"}", "context": "", "handle": "branding", "uuid": "11753c7a-af9f-436c-8a69-8c1f6e7ad36d", "specificationIdentifier": "BRANDING" }, { "config": "{"access":{"admin":{"direct_api_mode":"offline","embedded_app_direct_api_access":true}},"scopes":"read_customers,read_locales,read_metaobject_definitions,read_metaobjects,read_script_tags,read_themes,read_translations,write_customers,write_metaobject_definitions,write_metaobjects,write_script_tags,write_themes","use_legacy_install_flow":false,"redirect_url_allowlist":["https://snap-login.seapixel.com"]}", "context": "", "handle": "app-access", "uuid": "bc6fb41f-6663-4b9f-81f3-704e2ab11111", "specificationIdentifier": "APP_ACCESS" }, { "config": "{"api_version":"2024-07"}", "context": "", "handle": "webhooks", "uuid": "5f6c09a0-8825-4065-a3bf-f20c632256bd", "specificationIdentifier": "WEBHOOKS" }, { "config": "{"api_version":"2024-07","customers_redact_url":"https://snap-login.seapixel.com/webhooks/process","customers_data_request_url":"https://snap-login.seapixel.com/webhooks/process","shop_redact_url":"https://snap-login.seapixel.com/webhooks/process"}", "context": "", "handle": "privacy-compliance-webhooks", "uuid": "47d9100c-71ce-4514-bb0c-829a4ad481f0", "specificationIdentifier": "PRIVACY_COMPLIANCE_WEBHOOKS" }, { "config": "{"url":"https://snap-login.seapixel.com/proxy","subpath":"snap-login","prefix":"apps"}", "context": "", "handle": "app-proxy", "uuid": "5e4f978f-e012-4b07-9722-c0a6747124ce", "specificationIdentifier": "APP_PROXY" }, { "config": "{"embedded":false}", "context": "", "handle": "point-of-sale", "uuid": "4b0b8306-1b0e-452a-9837-152d17669f0a", "specificationIdentifier": "POINT_OF_SALE" }, { "config": "{"app_url":"https://snap-login.seapixel.com","embedded":true}", "context": "", "handle": "app-home", "uuid": "ddb87b82-50bb-40ba-b6ea-d5b959ce2aa6", "specificationIdentifier": "APP_HOME" }, { "config": "{"topic":"app_subscriptions/update","api_version":"2024-07","uri":"https://snap-login.seapixel.com/webhooks/process"}", "context": "", "handle": "10c82966b155e2bafcc930a16a63b1a92863bd9a", "uuid": "209d8532-7d3b-4999-aee4-c0cb69361c30", "specificationIdentifier": "WEBHOOK_SUBSCRIPTION" }, { "config": "{"topic":"app/uninstalled","api_version":"2024-07","uri":"https://snap-login.seapixel.com/webhooks/process"}", "context": "", "handle": "02f9c64f9edf8b74ff243e38915995917e58f398", "uuid": "f4bc440c-8fbd-47ec-919e-5bfccc1ded38", "specificationIdentifier": "WEBHOOK_SUBSCRIPTION" }, { "config": "{"topic":"shop/update","api_version":"2024-07","uri":"https://snap-login.seapixel.com/webhooks/process"}", "context": "", "handle": "7f004c93246f7575df61f5ce9e3b28185ea51cc6", "uuid": "85f361e4-d6a0-442e-992f-18fc8f601a7e", "specificationIdentifier": "WEBHOOK_SUBSCRIPTION" } ] }

With request headers:

  • User-Agent: Shopify CLI; v=3.68.0
  • Keep-Alive: timeout=30
  • Sec-CH-UA-PLATFORM: darwin
  • Content-Type: application/json

2024-10-08T08:22:56.414Z: Request to https://partners.shopify.com/api/cli/graphql completed in 1212 ms With response headers:

  • cache-control: max-age=0, private, must-revalidate
  • content-type: application/json; charset=utf-8
  • etag: W/"307ce8c20eb717c29fecaea0a7e9e910"
  • server-timing: processing;dur=993, socket_queue;dur=2.716, util;dur=0.5, cfRequestDuration;dur=1161.999941
  • x-request-id: e8185091-1e2a-4924-ac3a-61a2712bb86f-1728375775

╭─ error ───────────────────────────────────────────────────────────────────────────────────╮ │ │ │ │ │ The Partners GraphQL API responded unsuccessfully with errors: │ │ │ │ [ │ │ { │ │ "message": "Unexpected system error", │ │ "extensions": { │ │ "code": "500" │ │ } │ │ } │ │ ] │ │ │ │ Request ID: e8185091-1e2a-4924-ac3a-61a2712bb86f-1728375775 │ │ │ │ │ │ To investigate the issue, examine this stack trace: │ │ at makeRequest (Users/evan/Library/pnpm/global/5/.pnpm/@[email protected]/node_modul │ │ es/@shopify/cli/dist/chunk-7PUJMPXN.js:30297) │ │ at processTicksAndRejections (node:internal/process/task_queues:95) │ │ at async makeVerboseRequest (Users/evan/Library/pnpm/global/5/.pnpm/@[email protected] │ │ .0/node_modules/@shopify/cli/dist/chunk-7PUJMPXN.js:30327) │ │ at async retryAwareRequest (Users/evan/Library/pnpm/global/5/.pnpm/@[email protected]. │ │ 0/node_modules/@shopify/cli/dist/chunk-7PUJMPXN.js:30400) │ │ at (Users/evan/Library/pnpm/global/5/.pnpm/@[email protected]/node_modules/@shopify/ │ │ cli/dist/chunk-7PUJMPXN.js:32206) │ │ at (Users/evan/Library/pnpm/global/5/.pnpm/@[email protected]/node_modules/@shopify/ │ │ cli/dist/chunk-D72SCNZ2.js:29824) │ │ │ ╰───────────────────────────────────────────────────────────────────────────────────────────╯

2024-10-08T08:22:56.545Z: Running system process: · Command: npm prefix · Working directory: /Users/evan/Sites/Seapixel/applify/apps/snap-login

2024-10-08T08:22:56.651Z: Obtaining the dependency manager in directory /Users/evan/Sites/Seapixel/applify/apps/snap-login... 2024-10-08T08:22:56.652Z: Running system process: · Command: ruby -v · Working directory: /Users/evan/Sites/Seapixel/applify/apps/snap-login

2024-10-08T08:22:56.982Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 282 ms With response headers:

  • x-request-id: 84dde9c4-376e-47a9-aae1-fadaf513ae1f

2024-10-08T08:22:56.982Z: Analytics event sent: { "command": "app deploy", "time_start": 1728375764695, "time_end": 1728375776543, "total_time": 11848, "success": false, "cli_version": "3.68.0", "ruby_version": "3.1.2", "node_version": "20.15.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": "b8915f2717c0315062c8f12ec46c854e3407aae2", "env_cloud": "localhost", "env_package_manager": "npm", "env_is_global": true, "env_auth_method": "device_auth", "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.development.toml":"d5bb0e1bac39c87ca5f7a1ab7d1903a1","shopify.app.toml":"e8d7f29eb62381c1da460b815af31084"}", "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", "cmd_app_linked_config_uses_cli_managed_urls": false, "project_type": "node", "app_extensions_any": true, "app_extensions_breakdown": "{"ui_extension":1,"theme":1}", "app_extensions_count": 2, "app_extensions_custom_layout": false, "app_extensions_function_any": false, "app_extensions_function_count": 0, "app_extensions_theme_any": true, "app_extensions_theme_count": 1, "app_extensions_ui_any": true, "app_extensions_ui_count": 1, "app_name_hash": "f7ee5c1f98e8555be4d82651d8522cd6f4afb4bc", "app_path_hash": "de931aabfd6bfe79d2d798a493b0450e2b409cfa", "app_scopes": "["read_customers","read_locales","read_metaobject_definitions","read_metaobjects","read_script_tags","read_themes","read_translations","write_customers","write_metaobject_definitions","write_metaobjects","write_script_tags","write_themes"]", "app_web_backend_any": true, "app_web_backend_count": 1, "app_web_custom_layout": true, "app_web_framework": "unknown", "app_web_frontend_any": true, "app_web_frontend_count": 1, "env_package_manager_workspaces": false, "partner_id": 1557984, "api_key": "****", "cmd_deploy_include_config_used": true, "cmd_deploy_config_modules_breakdown": "["access","access_scopes","app_proxy","application_url","auth","embedded","handle","name","pos","webhooks"]", "cmd_deploy_confirm_new_registrations": 0, "cmd_deploy_confirm_updated_registrations": 2, "cmd_deploy_confirm_removed_registrations": 1, "cmd_deploy_confirm_cancelled": false, "cmd_deploy_confirm_time_to_complete_ms": 4656, "cmd_all_timing_network_ms": 6196, "cmd_all_timing_prompts_ms": 4655, "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": "de931aabfd6bfe79d2d798a493b0450e2b409cfa", "cmd_app_reset_used": false, "cmd_all_timing_active_ms": 996, "cmd_all_exit": "unexpected_error", "user_id": "0ec68db5-9815-4deb-abe1-ad6f65c940d0", "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"Unexpected system error"\u001b[33m,\n \u001b[0m\u001b[37m"extensions":\u001b[33m {\n \u001b[0m\u001b[37m"code":\u001b[33m \u001b[0m\u001b[32m"500"\u001b[33m\n }\n }\n]\u001b[0m\n \nRequest ID: e8185091-1e2a-4924-ac3a-61a2712bb86f-1728375775\n", "app_name": "snap-login", "env_plugin_installed_all": "["@shopify/cli"]", "metadata": "{"extraPublic":{},"extraSensitive":{}}" } 2024-10-08T08:22:57.109Z: Reporting unhandled error to Bugsnag: The Partners GraphQL API responded unsuccessfully with errors:

[ { "message": "Unexpected system error", "extensions": { "code": "500" } } ]

Request ID: e8185091-1e2a-4924-ac3a-61a2712bb86f-1728375775

2024-10-08T08:22:57.144Z: Running system process: · Command: npm prefix · Working directory: /Users/evan/Sites/Seapixel/applify/apps/snap-login

2024-10-08T08:22:57.240Z: Obtaining the dependency manager in directory /Users/evan/Sites/Seapixel/applify/apps/snap-login...

Reproduction steps

  1. have two extensions, one is theme app extension the other is UI extension (Admin action) 2.manually deleted the previous Admin link extension as we try to replace with the newly created Admin action UI extension
  2. cannot release a new version anymore after manually deleting the Admin link extension.

Operating System

Mac OS Sequoia

Shopify CLI version (check your project's package.json if you're not sure)

3.68.0

Shell

zsh

Node version (run node -v if you're not sure)

v20.15.0

What language and version are you using in your application?

typescript/javascript vue

skoulix avatar Oct 08 '24 08:10 skoulix