Shopify / cli

Build apps, themes, and hydrogen storefronts for Shopify
https://shopify.dev
MIT License
432 stars 130 forks source link

[Bug]: Cannot create a new custom app version because of `default_placement_reference` #4434

Closed gabriel-breda closed 1 month ago

gabriel-breda commented 1 month ago

Please confirm that you have:

In which of these areas are you experiencing a problem?

App

Expected behavior

I'm creating a new custom app for my organisation's application (Mention Me Shopify App), as I've done several times last week, and today it ends up with an error saying Version couldn't be created. I'd expect it to deploy a new code version as I've done successfully in the past with the exact same steps.

Actual behavior

Getting an error on yarn run deploy --reset at the end (see full output below):

Version couldn't be created.

• This app is not permitted to configure a default_placement_reference. • This app is not permitted to configure a default_placement_reference.

and returning error code 1

Full output:

yarn run deploy --reset
yarn run v1.22.11
$ shopify app deploy --reset

Before proceeding, your project needs to be associated with an app.

?  Create this project as a new app on Shopify?
✔  Yes, create it as a new app

?  App name:
✔  Test Store

?  Configuration file name:
✔  Test Store

╭─ info ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                          │
│  Using .env.test-store:                                                                                                  │
│                                                                                                                          │
│    • Org:             Mention Me Ltd                                                                                     │
│    • App:             Test Store                                                                                         │
│                                                                                                                          │
│   You can pass  `--reset`  to your command to reset your app configuration.                                              │
│                                                                                                                          │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

?  Include `shopify.app.test-store.toml` configuration on `deploy`?
✔  Yes, always (Recommended)

?  Release a new version of Test Store?
✔  Yes, release this new version

✔ Created extension checkout-journey.
✔ Created extension order-status-ui.

Releasing a new app version as part of Test Store

checkout-journey │ Bundling UI extension checkout-journey...
 order-status-ui │ Bundling UI extension order-status-ui...
 order-status-ui │ order-status-ui successfully built
checkout-journey │ checkout-journey successfully built

╭─ error ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                          │
│  Version couldn't be created.                                                                                            │
│                                                                                                                          │
│    • This app is not permitted to configure a default_placement_reference.                                               │
│    • This app is not permitted to configure a default_placement_reference.                                               │
│                                                                                                                          │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Verbose output

yarn run deploy --reset --verbose
yarn run v1.22.11
$ shopify app deploy --reset --verbose
2024-09-11T09:50:32.341Z: Running command app deploy
2024-09-11T09:50:32.350Z: Reading cached app information for directory /Users/gabriel.breda/ShopifyAppV2...
2024-09-11T09:50:32.351Z: Reading the content of file at shopify.app.toml...
2024-09-11T09:50:32.353Z: Reading the content of file at shopify.app.toml...
2024-09-11T09:50:32.356Z: Reading the content of file at shopify.app.custom-example.toml...
2024-09-11T09:50:32.356Z: Reading the content of file at shopify.app.default.toml...
2024-09-11T09:50:32.450Z: Reading the content of file at extensions/checkout-ui/shopify.extension.toml...
2024-09-11T09:50:32.450Z: Reading the content of file at extensions/order-status-ui/shopify.extension.toml...
2024-09-11T09:50:32.453Z: Reading the content of file at extensions/checkout-ui/shopify.extension.toml...
2024-09-11T09:50:32.453Z: Reading the content of file at extensions/order-status-ui/shopify.extension.toml...
2024-09-11T09:50:32.455Z: Reading the content of file at package.json...
2024-09-11T09:50:32.455Z: Reading the content of file at package.json...
2024-09-11T09:50:32.458Z:
Running system process:
  · Command: npm prefix
  · Working directory: /Users/gabriel.breda/ShopifyAppV2

2024-09-11T09:50:32.613Z: Obtaining the dependency manager in directory /Users/gabriel.breda/ShopifyAppV2...
2024-09-11T09:50:32.746Z: Reading the content of file at package.json...
2024-09-11T09:50:32.747Z: Unable to decide project type as no web backend
2024-09-11T09:50:32.748Z: Reading cached app information for directory /Users/gabriel.breda/ShopifyAppV2...
2024-09-11T09:50:32.748Z: Clearing app information for directory /Users/gabriel.breda/ShopifyAppV2...
2024-09-11T09:50:32.755Z: Reading cached app information for directory /Users/gabriel.breda/ShopifyAppV2...
2024-09-11T09:50:32.755Z: Reading the content of file at shopify.app.toml...
2024-09-11T09:50:32.756Z: Reading the content of file at shopify.app.toml...
2024-09-11T09:50:32.757Z: Reading the content of file at shopify.app.custom-example.toml...
2024-09-11T09:50:32.757Z: Reading the content of file at shopify.app.default.toml...
2024-09-11T09:50:32.842Z: Reading cached app information for directory /Users/gabriel.breda/ShopifyAppV2...
2024-09-11T09:50:32.843Z: Reading the content of file at shopify.app.toml...
2024-09-11T09:50:32.843Z: Reading the content of file at shopify.app.toml...
2024-09-11T09:50:32.845Z: Reading the content of file at shopify.app.custom-example.toml...
2024-09-11T09:50:32.845Z: Reading the content of file at shopify.app.default.toml...
2024-09-11T09:50:32.936Z: Reading the content of file at extensions/checkout-ui/shopify.extension.toml...
2024-09-11T09:50:32.936Z: Reading the content of file at extensions/order-status-ui/shopify.extension.toml...
2024-09-11T09:50:32.936Z: Reading the content of file at extensions/checkout-ui/shopify.extension.toml...
2024-09-11T09:50:32.936Z: Reading the content of file at extensions/order-status-ui/shopify.extension.toml...
2024-09-11T09:50:32.937Z: Reading the content of file at package.json...
2024-09-11T09:50:32.938Z: Reading the content of file at package.json...
2024-09-11T09:50:32.940Z:
Running system process:
  · Command: npm prefix
  · Working directory: /Users/gabriel.breda/ShopifyAppV2

2024-09-11T09:50:33.084Z: Obtaining the dependency manager in directory /Users/gabriel.breda/ShopifyAppV2...
2024-09-11T09:50:33.089Z: Reading the content of file at package.json...
2024-09-11T09:50:33.089Z: Unable to decide project type as no web backend
2024-09-11T09:50:33.090Z: Ensuring that the user is authenticated with the Partners API with the following scopes:
[]

2024-09-11T09:50:33.090Z: Getting session store...
2024-09-11T09:50:33.091Z: 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-09-11T09:50:33.091Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2024-09-11T09:50:33.092Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
 - User-Agent: Shopify CLI; v=3.66.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-09-11T09:50:33.344Z: Request to https://accounts.shopify.com/oauth/introspection completed in 252 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/"183cae629120a03f1fa73632900fd3ab"
 - server-timing: processing;dur=25, socket_queue;dur=1.126, edge;dur=1.032, util;dur=0.05, cfRequestDuration;dur=135.999918
 - x-request-id: b82ba83b-fbb6-410f-baa7-ac81e79e54ca-1726048233

2024-09-11T09:50:33.347Z: The identity token is valid: true
2024-09-11T09:50:33.347Z:
The validation of the token for application/identity completed with the following results:
- It's expired: false
- It's invalid in identity: false

2024-09-11T09:50:33.348Z: Verifying that the user has a Partner organization
2024-09-11T09:50:33.355Z: Sending "Partners" GraphQL request:
  {
    organizations(first: 1) {
      nodes {
        id
      }
    }
  }

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

2024-09-11T09:50:33.591Z: Request to https://partners.shopify.com/api/cli/graphql completed in 235 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"08454be54bc7df8bc25c67f531d6325b"
 - server-timing: processing;dur=17, socket_queue;dur=1.874, util;dur=0.7, cfRequestDuration;dur=127.000093
 - x-request-id: c862d28f-bd45-4790-81f2-f4420e6ce740-1726048233

2024-09-11T09:50:33.598Z: Sending "Partners" GraphQL request:
  query currentAccountInfo {
    currentAccountInfo {
      __typename
      ... on ServiceAccount {
        orgName
      }
      ... on UserAccount {
        email
      }
    }
  }

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

2024-09-11T09:50:33.814Z: Request to https://partners.shopify.com/api/cli/graphql completed in 216 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"a00598cfd3dd828ce58888500f4cc5ec"
 - server-timing: processing;dur=13, socket_queue;dur=7.334, util;dur=0.2, cfRequestDuration;dur=129.999876
 - x-request-id: 9d40d42d-ba23-4483-b8f3-209cc8047507-1726048233

2024-09-11T09:50:33.822Z: Sending "Partners" GraphQL request:
  query AllOrgs {
  organizations(first: 200) {
    nodes {
      id
      businessName
      __typename
    }
    __typename
  }
}

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

2024-09-11T09:50:34.101Z: Request to https://partners.shopify.com/api/cli/graphql completed in 278 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"060f329182577c0966095392cf2213ae"
 - server-timing: processing;dur=64, socket_queue;dur=7.103, util;dur=0.4, cfRequestDuration;dur=192.000151
 - x-request-id: c8b88960-1018-4418-ac6b-6c48ccf7b12d-1726048233

2024-09-11T09:50:34.103Z: Ensuring that the user is authenticated with the Partners API with the following scopes:
[]

2024-09-11T09:50:34.103Z: Getting session store...
2024-09-11T09:50:34.104Z: 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-09-11T09:50:34.105Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2024-09-11T09:50:34.105Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
 - User-Agent: Shopify CLI; v=3.66.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-09-11T09:50:34.334Z: Request to https://accounts.shopify.com/oauth/introspection completed in 229 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/"183cae629120a03f1fa73632900fd3ab"
 - server-timing: processing;dur=35, socket_queue;dur=1.935, edge;dur=1.021, util;dur=0.0, cfRequestDuration;dur=148.999929
 - x-request-id: a93ab130-dbb0-4825-a6fe-efcb1b221f7a-1726048234

2024-09-11T09:50:34.336Z: The identity token is valid: true
2024-09-11T09:50:34.336Z:
The validation of the token for application/identity completed with the following results:
- It's expired: false
- It's invalid in identity: false

2024-09-11T09:50:34.336Z: Verifying that the user has a Partner organization
2024-09-11T09:50:34.340Z: Sending "Partners" GraphQL request:
  {
    organizations(first: 1) {
      nodes {
        id
      }
    }
  }

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

2024-09-11T09:50:34.563Z: Request to https://partners.shopify.com/api/cli/graphql completed in 223 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"08454be54bc7df8bc25c67f531d6325b"
 - server-timing: processing;dur=18, socket_queue;dur=1.522, util;dur=0.4, cfRequestDuration;dur=132.999897
 - x-request-id: 0cb0e104-9f8a-4f5b-b17e-6975269c9d57-1726048234

2024-09-11T09:50:34.569Z: Sending "Partners" GraphQL request:
  query currentAccountInfo {
    currentAccountInfo {
      __typename
      ... on ServiceAccount {
        orgName
      }
      ... on UserAccount {
        email
      }
    }
  }

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

2024-09-11T09:50:34.789Z: Request to https://partners.shopify.com/api/cli/graphql completed in 220 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"a00598cfd3dd828ce58888500f4cc5ec"
 - server-timing: processing;dur=14, socket_queue;dur=2.347, util;dur=0.4, cfRequestDuration;dur=133.999825
 - x-request-id: 72617179-ce50-45b2-8932-a78080d197bd-1726048234

2024-09-11T09:50:34.795Z: Sending "Partners" GraphQL request:
  query FindOrganization($id: ID!, $title: String) {
    organizations(id: $id, first: 1) {
      nodes {
        id
        businessName
        apps(first: 25, title: $title) {
          pageInfo {
            hasNextPage
          }
          nodes {
            id
            title
            apiKey
          }
        }
      }
    }
  }

With variables:
{
  "id": "1158673"
}

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

2024-09-11T09:50:35.178Z: Request to https://partners.shopify.com/api/cli/graphql completed in 382 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"4ff33fa3e04be9fd3b094fb2e305572e"
 - server-timing: processing;dur=177, socket_queue;dur=7.461, util;dur=0.1, cfRequestDuration;dur=298.000097
 - x-request-id: 0b622b30-99d3-4fc0-84b4-e08b1173b577-1726048234

Before proceeding, your project needs to be associated with an app.

?  Create this project as a new app on Shopify?
✔  Yes, create it as a new app

?  App name:
✔  Test Store

2024-09-11T09:50:38.523Z: Sending "Partners" GraphQL request:
  mutation AppCreate(
    $org: Int!
    $title: String!
    $appUrl: Url!
    $redir: [Url]!
    $type: AppType
    $requestedAccessScopes: [String!]
  ) {
    appCreate(
      input: {
        organizationID: $org
        title: $title
        applicationUrl: $appUrl
        redirectUrlWhitelist: $redir
        appType: $type
        requestedAccessScopes: $requestedAccessScopes
      }
    ) {
      app {
        id
        title
        apiKey
        organizationId
        apiSecretKeys {
          secret
        }
        appType
        grantedScopes
        applicationUrl
        redirectUrlWhitelist
        requestedAccessScopes
        webhookApiVersion
        embedded
        posEmbedded
        preferencesUrl
        gdprWebhooks {
          customerDeletionUrl
          customerDataRequestUrl
          shopDeletionUrl
        }
        appProxy {
          subPath
          subPathPrefix
          url
        }
        disabledFlags
      }
      userErrors {
        field
        message
      }
    }
  }

With variables:
{
  "org": 1158673,
  "title": "Test Store",
  "appUrl": "https://shopify.dev/apps/default-app-home",
  "redir": [
    "https://shopify.dev/apps/default-app-home/api/auth"
  ],
  "requestedAccessScopes": [],
  "type": "undecided"
}

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

2024-09-11T09:50:39.774Z: Request to https://partners.shopify.com/api/cli/graphql completed in 1250 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"02a2d57553beac2f77f73d067704b668"
 - server-timing: processing;dur=1004, socket_queue;dur=6.941, util;dur=1.0, cfRequestDuration;dur=1125.999928
 - x-request-id: 6f1455a9-ebdb-4e07-935a-a75466b9091c-1726048238

2024-09-11T09:50:39.780Z: 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": "416f16b4152f61a1a23fc33cda4273e3"
}

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

2024-09-11T09:50:40.125Z: Request to https://partners.shopify.com/api/cli/graphql completed in 345 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"e957a9d438cb9914eacebd3af28d03a4"
 - server-timing: processing;dur=143, socket_queue;dur=1.992, util;dur=0.5, cfRequestDuration;dur=261.999846
 - x-request-id: 59338964-d901-422d-8484-1ee92da511d6-1726048239

2024-09-11T09:50:40.128Z: The following extension specifications were defined locally but not found in the remote specifications: data, marketing_activity_extension_cli, payments_extension, tax_calculation
2024-09-11T09:50:40.128Z: The following extension specifications were found in the remote specifications but not defined locally: cloud_terminal_management, marketing_activity
2024-09-11T09:50:40.130Z: Reading cached app information for directory /Users/gabriel.breda/ShopifyAppV2...
2024-09-11T09:50:40.130Z: Reading the content of file at shopify.app.toml...
2024-09-11T09:50:40.131Z: Reading the content of file at shopify.app.toml...
2024-09-11T09:50:40.134Z: Reading the content of file at shopify.app.custom-example.toml...
2024-09-11T09:50:40.134Z: Reading the content of file at shopify.app.default.toml...
2024-09-11T09:50:40.229Z: Reading the content of file at extensions/checkout-ui/shopify.extension.toml...
2024-09-11T09:50:40.229Z: Reading the content of file at extensions/order-status-ui/shopify.extension.toml...
2024-09-11T09:50:40.230Z: Reading the content of file at extensions/checkout-ui/shopify.extension.toml...
2024-09-11T09:50:40.231Z: Reading the content of file at extensions/order-status-ui/shopify.extension.toml...
2024-09-11T09:50:40.233Z: Reading the content of file at package.json...
2024-09-11T09:50:40.234Z: Reading the content of file at package.json...
2024-09-11T09:50:40.239Z:
Running system process:
  · Command: npm prefix
  · Working directory: /Users/gabriel.breda/ShopifyAppV2

2024-09-11T09:50:40.383Z: Obtaining the dependency manager in directory /Users/gabriel.breda/ShopifyAppV2...
2024-09-11T09:50:40.387Z: Reading the content of file at package.json...
2024-09-11T09:50:40.387Z: Unable to decide project type as no web backend
2024-09-11T09:50:40.389Z: Reading the content of file at shopify.app.custom-example.toml...
2024-09-11T09:50:40.389Z: Reading the content of file at shopify.app.default.toml...
2024-09-11T09:50:40.389Z: Reading the content of file at shopify.app.toml...
?  Configuration file name:
✔  Test Store

2024-09-11T09:50:41.319Z: 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.66.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-09-11T09:50:41.869Z: Request to https://partners.shopify.com/api/cli/graphql completed in 549 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"e80d1ebe4913e4df0c4989d338e64e01"
 - server-timing: processing;dur=317, socket_queue;dur=1.887, util;dur=0.5, cfRequestDuration;dur=434.000015
 - x-request-id: 1516330f-3db0-4f40-a187-28203b2f9e70-1726048241

2024-09-11T09:50:41.872Z: Writing app configuration to /Users/gabriel.breda/ShopifyAppV2/shopify.app.test-store.toml
2024-09-11T09:50:41.876Z: File-writing some content to file at shopify.app.test-store.toml...
2024-09-11T09:50:41.878Z: Storing app information for directory /Users/gabriel.breda/ShopifyAppV2:{
  "directory": "/Users/gabriel.breda/ShopifyAppV2",
  "configFile": "shopify.app.test-store.toml"
}
2024-09-11T09:50:41.887Z: Ensuring that the user is authenticated with the Partners API with the following scopes:
[]

2024-09-11T09:50:41.887Z: Getting session store...
2024-09-11T09:50:41.888Z: 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-09-11T09:50:41.888Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2024-09-11T09:50:41.888Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
 - User-Agent: Shopify CLI; v=3.66.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-09-11T09:50:42.124Z: Request to https://accounts.shopify.com/oauth/introspection completed in 236 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/"183cae629120a03f1fa73632900fd3ab"
 - server-timing: processing;dur=28, socket_queue;dur=1.749, edge;dur=0.014, util;dur=0.15, cfRequestDuration;dur=148.000002
 - x-request-id: cb03d858-bc95-4da9-9d6c-9c64d5299a10-1726048242

2024-09-11T09:50:42.126Z: The identity token is valid: true
2024-09-11T09:50:42.126Z:
The validation of the token for application/identity completed with the following results:
- It's expired: false
- It's invalid in identity: false

2024-09-11T09:50:42.126Z: Verifying that the user has a Partner organization
2024-09-11T09:50:42.131Z: Sending "Partners" GraphQL request:
  {
    organizations(first: 1) {
      nodes {
        id
      }
    }
  }

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

2024-09-11T09:50:42.357Z: Request to https://partners.shopify.com/api/cli/graphql completed in 225 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"08454be54bc7df8bc25c67f531d6325b"
 - server-timing: processing;dur=24, socket_queue;dur=5.855, util;dur=0.3, cfRequestDuration;dur=138.999939
 - x-request-id: d3200fd1-c580-4765-8c34-8af71626b4c8-1726048242

2024-09-11T09:50:42.363Z: Sending "Partners" GraphQL request:
  query currentAccountInfo {
    currentAccountInfo {
      __typename
      ... on ServiceAccount {
        orgName
      }
      ... on UserAccount {
        email
      }
    }
  }

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

2024-09-11T09:50:42.582Z: Request to https://partners.shopify.com/api/cli/graphql completed in 219 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"a00598cfd3dd828ce58888500f4cc5ec"
 - server-timing: processing;dur=15, socket_queue;dur=6.56, util;dur=0.4, cfRequestDuration;dur=131.999969
 - x-request-id: b041309a-79bc-4c78-a52d-4c98b97af765-1726048242

2024-09-11T09:50:42.589Z: 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.66.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-09-11T09:50:43.124Z: Request to https://partners.shopify.com/api/cli/graphql completed in 535 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"6d3af74f5a63f3916725a82605ae0b89"
 - server-timing: processing;dur=332, socket_queue;dur=7.288, util;dur=0.4, cfRequestDuration;dur=447.999954
 - x-request-id: 5cc962cc-7545-4f0a-aefb-30f7a56ef86d-1726048242

2024-09-11T09:50:43.130Z: 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": "416f16b4152f61a1a23fc33cda4273e3"
}

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

2024-09-11T09:50:43.433Z: Request to https://partners.shopify.com/api/cli/graphql completed in 302 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"e957a9d438cb9914eacebd3af28d03a4"
 - server-timing: processing;dur=99, socket_queue;dur=4.578, util;dur=0.8, cfRequestDuration;dur=215.999842
 - x-request-id: 1b76cc71-cad3-4ce9-98db-b2622748c806-1726048243

2024-09-11T09:50:43.436Z: The following extension specifications were defined locally but not found in the remote specifications: data, marketing_activity_extension_cli, payments_extension, tax_calculation
2024-09-11T09:50:43.436Z: The following extension specifications were found in the remote specifications but not defined locally: cloud_terminal_management, marketing_activity
2024-09-11T09:50:43.439Z: Reading cached app information for directory /Users/gabriel.breda/ShopifyAppV2...
2024-09-11T09:50:43.440Z: Reading the content of file at shopify.app.test-store.toml...
2024-09-11T09:50:43.442Z: Reading the content of file at shopify.app.test-store.toml...
2024-09-11T09:50:43.445Z: Reading the content of file at shopify.app.custom-example.toml...
2024-09-11T09:50:43.445Z: Reading the content of file at shopify.app.default.toml...
2024-09-11T09:50:43.446Z: Reading the content of file at shopify.app.toml...
2024-09-11T09:50:43.497Z: Reading the .env file at .env.test-store
2024-09-11T09:50:43.497Z: Reading the content of file at .env.test-store...
2024-09-11T09:50:43.501Z: Reading the content of file at extensions/checkout-ui/shopify.extension.toml...
2024-09-11T09:50:43.501Z: Reading the content of file at extensions/order-status-ui/shopify.extension.toml...
2024-09-11T09:50:43.501Z: Reading the content of file at extensions/checkout-ui/shopify.extension.toml...
2024-09-11T09:50:43.502Z: Reading the content of file at extensions/order-status-ui/shopify.extension.toml...
2024-09-11T09:50:43.503Z: Reading the content of file at package.json...
2024-09-11T09:50:43.503Z: Reading the content of file at package.json...
2024-09-11T09:50:43.506Z:
Running system process:
  · Command: npm prefix
  · Working directory: /Users/gabriel.breda/ShopifyAppV2

2024-09-11T09:50:43.639Z: Obtaining the dependency manager in directory /Users/gabriel.breda/ShopifyAppV2...
2024-09-11T09:50:43.642Z: Reading the content of file at package.json...
2024-09-11T09:50:43.642Z: Unable to decide project type as no web backend
2024-09-11T09:50:43.645Z: Sending "Partners" GraphQL request:
  query FindOrganization($id: ID!) {
    organizations(id: $id, first: 1) {
      nodes {
        id
        businessName
      }
    }
  }

With variables:
{
  "id": "1158673"
}

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

2024-09-11T09:50:43.918Z: Request to https://partners.shopify.com/api/cli/graphql completed in 273 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"da5ff448d9c48243e2cf84859c0283c9"
 - server-timing: processing;dur=67, socket_queue;dur=2.695, util;dur=0.3, cfRequestDuration;dur=191.999912
 - x-request-id: 1700ed20-0d87-4c4e-954c-c71914ea287e-1726048243

╭─ info ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                           │
│  Using .env.test-store:                                                                                                                   │
│                                                                                                                                           │
│    • Org:             Mention Me Ltd                                                                                                      │
│    • App:             Test Store                                                                                                          │
│                                                                                                                                           │
│   You can pass  `--reset`  to your command to reset your app configuration.                                                               │
│                                                                                                                                           │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

?  Include `shopify.app.test-store.toml` configuration on `deploy`?
✔  Yes, always (Recommended)

2024-09-11T09:50:44.868Z: Writing app configuration to /Users/gabriel.breda/ShopifyAppV2/shopify.app.test-store.toml
2024-09-11T09:50:44.869Z: File-writing some content to file at shopify.app.test-store.toml...
2024-09-11T09:50:44.875Z: 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.66.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-09-11T09:50:45.943Z: Request to https://partners.shopify.com/api/cli/graphql completed in 1068 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"648cd5bc2345b9e355d0ea4ad889bb4d"
 - server-timing: processing;dur=860, socket_queue;dur=6.602, util;dur=0.6, cfRequestDuration;dur=981.999874
 - x-request-id: 584c9e65-ef2d-42ea-b2b8-8562ac0ce29c-1726048245

2024-09-11T09:50:45.954Z: 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.66.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-09-11T09:50:46.450Z: Request to https://partners.shopify.com/api/cli/graphql completed in 496 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"e80d1ebe4913e4df0c4989d338e64e01"
 - server-timing: processing;dur=292, socket_queue;dur=7.101, util;dur=0.4, cfRequestDuration;dur=414.000034
 - x-request-id: 59615e99-b961-4c11-9739-97b94f243c09-1726048246

2024-09-11T09:50:46.458Z: 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.66.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-09-11T09:50:46.924Z: Request to https://partners.shopify.com/api/cli/graphql completed in 465 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"e80d1ebe4913e4df0c4989d338e64e01"
 - server-timing: processing;dur=267, socket_queue;dur=1.786, util;dur=0.5, cfRequestDuration;dur=381.000042
 - x-request-id: 056905c6-dac9-49f4-b6e7-0a33d834429b-1726048246

?  Release a new version of Test Store?
✔  Yes, release this new version

2024-09-11T09:50:50.093Z: Sending "Partners" GraphQL request:
  mutation ExtensionCreate(
    $apiKey: String!
    $type: ExtensionType!
    $title: String!
    $config: JSON!
    $context: String
    $handle: String
  ) {
    extensionCreate(
      input: {apiKey: $apiKey, type: $type, title: $title, config: $config, context: $context, handle: $handle}
    ) {
      extensionRegistration {
        id
        uuid
        type
        title
        draftVersion {
          config
          registrationId
          lastUserInteractionAt
          validationErrors {
            field
            message
          }
        }
      }
      userErrors {
        field
        message
      }
    }
  }

With variables:
{
  "apiKey": "*****",
  "type": "UI_EXTENSION",
  "title": "checkout-journey",
  "config": "{}",
  "context": "purchase.checkout.block.render",
  "handle": "checkout-journey"
}

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

2024-09-11T09:50:50.447Z: Request to https://partners.shopify.com/api/cli/graphql completed in 354 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"642ca7333b666d28e2e49aad8ecaebe3"
 - server-timing: processing;dur=136, socket_queue;dur=5.666, util;dur=0.7, cfRequestDuration;dur=266.999960
 - x-request-id: 7a2eb000-366c-4ae9-92b5-15184db98c0b-1726048250

✔ Created extension checkout-journey.
2024-09-11T09:50:50.453Z: Sending "Partners" GraphQL request:
  mutation ExtensionCreate(
    $apiKey: String!
    $type: ExtensionType!
    $title: String!
    $config: JSON!
    $context: String
    $handle: String
  ) {
    extensionCreate(
      input: {apiKey: $apiKey, type: $type, title: $title, config: $config, context: $context, handle: $handle}
    ) {
      extensionRegistration {
        id
        uuid
        type
        title
        draftVersion {
          config
          registrationId
          lastUserInteractionAt
          validationErrors {
            field
            message
          }
        }
      }
      userErrors {
        field
        message
      }
    }
  }

With variables:
{
  "apiKey": "*****",
  "type": "UI_EXTENSION",
  "title": "order-status-ui",
  "config": "{}",
  "context": "",
  "handle": "order-status-ui"
}

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

2024-09-11T09:50:50.835Z: Request to https://partners.shopify.com/api/cli/graphql completed in 381 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"3b7821422e21144e15f44f0c62d0aaf6"
 - server-timing: processing;dur=178, socket_queue;dur=2.703, util;dur=0.3, cfRequestDuration;dur=292.000055
 - x-request-id: 67d2f435-e5a3-4f96-bffc-f5e6ac4469af-1726048250

✔ Created extension order-status-ui.
2024-09-11T09:50:50.838Z: Writing some content to file at .env.test-store...

Releasing a new app version as part of Test Store

2024-09-11T09:50:50.841Z: Creating directory at /private/var/folders/x7/y0hvyv257rs3ypf711qj50cc0000gq/T/2bc4915bd588c45f8e62fd5586553967...
2024-09-11T09:50:50.842Z: Sync-creating directory at /private/var/folders/x7/y0hvyv257rs3ypf711qj50cc0000gq/T/6d5517a43808c1a0643970a85a9e8c6e/bundle...
2024-09-11T09:50:50.842Z: Creating an empty file at /private/var/folders/x7/y0hvyv257rs3ypf711qj50cc0000gq/T/6d5517a43808c1a0643970a85a9e8c6e/bundle/.shopify...
2024-09-11T09:50:50.854Z: Deduplicating React dependency for /Users/gabriel.breda/ShopifyAppV2/extensions/checkout-ui, using /Users/gabriel.breda/ShopifyAppV2/node_modules/react/index.js
2024-09-11T09:50:50.863Z: Deduplicating React dependency for /Users/gabriel.breda/ShopifyAppV2/extensions/order-status-ui, using /Users/gabriel.breda/ShopifyAppV2/node_modules/react/index.js
checkout-journey │ Bundling UI extension checkout-journey...
 order-status-ui │ Bundling UI extension order-status-ui...
checkout-journey │ checkout-journey successfully built
 order-status-ui │ order-status-ui successfully built

2024-09-11T09:50:51.046Z: Zipping /private/var/folders/x7/y0hvyv257rs3ypf711qj50cc0000gq/T/6d5517a43808c1a0643970a85a9e8c6e/bundle into /private/var/folders/x7/y0hvyv257rs3ypf711qj50cc0000gq/T/2bc4915bd588c45f8e62fd5586553967/bundle.zip
2024-09-11T09:50:51.102Z: 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.66.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-09-11T09:50:51.481Z: Request to https://partners.shopify.com/api/cli/graphql completed in 379 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"ebb70bf2476d0f696ba237e43c1fc860"
 - server-timing: processing;dur=140, socket_queue;dur=4.905, util;dur=0.4, cfRequestDuration;dur=269.000053
 - x-request-id: b4fca764-69dd-4970-bc70-d32802ecda4e-1726048251

2024-09-11T09:50:51.483Z: Sync-reading the content of file at /private/var/folders/x7/y0hvyv257rs3ypf711qj50cc0000gq/T/2bc4915bd588c45f8e62fd5586553967/bundle.zip...
2024-09-11T09:50:52.149Z: Request to https://partners-extensions-scripts-bucket.storage.googleapis.com/deployments/159628492801/ef92926e-2b6a-4374-93d2-f4457f0cac49/bundle.zip?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=argo-project-sa%40shopify-tiers.iam.gserviceaccount.com%2F20240911%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20240911T095051Z&X-Goog-Expires=300&X-Goog-SignedHeaders=host&X-Goog-Signature=52e18b6acc868b1dbd03f7d0396b4eb76bf78f88af34e72f49fe1000ad283cdc742dfa773b07e5e1f49dfefe04ff011e8e59d2bd1590f1ff365526c48952766300d7bf59c66b33a8fa5e5fcdf3e1be7048b4c733290fe7c5a29d3755ead7114ad13179178a259e481d195cd79cd8267bf813bf443614c975f3a599fec8f5199c58380a550756297d40a8a64e889698f2b7b671752127e05c225f860ea5e67615fe257e352da91dd81ac2f8f3b1922db1c505ff41707ccc8376a4302b4eee4ae7fb2f6357ba7a295b7ecb80430db5d2b13a7f98144718dd137f6b580d6802b0a49a9e9827d205936519f26fa056be3788882a438a38f795266f5818d1b060d512 completed in 664 ms
With response headers:
 - content-type: text/html; charset=UTF-8
 - etag: "aeec76a9b1968368e4931eaa7b4a06cc"

2024-09-11T09:50:52.157Z: 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": "159628492801",
  "apiKey": "*****",
  "name": "mention-me",
  "skipPublish": false,
  "bundleUrl": "https://partners-extensions-scripts-bucket.storage.googleapis.com/deployments/159628492801/ef92926e-2b6a-4374-93d2-f4457f0cac49/bundle.zip?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=argo-project-sa%40shopify-tiers.iam.gserviceaccount.com%2F20240911%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20240911T095051Z&X-Goog-Expires=300&X-Goog-SignedHeaders=host&X-Goog-Signature=52e18b6acc868b1dbd03f7d0396b4eb76bf78f88af34e72f49fe1000ad283cdc742dfa773b07e5e1f49dfefe04ff011e8e59d2bd1590f1ff365526c48952766300d7bf59c66b33a8fa5e5fcdf3e1be7048b4c733290fe7c5a29d3755ead7114ad13179178a259e481d195cd79cd8267bf813bf443614c975f3a599fec8f5199c58380a550756297d40a8a64e889698f2b7b671752127e05c225f860ea5e67615fe257e352da91dd81ac2f8f3b1922db1c505ff41707ccc8376a4302b4eee4ae7fb2f6357ba7a295b7ecb80430db5d2b13a7f98144718dd137f6b580d6802b0a49a9e9827d205936519f26fa056be3788882a438a38f795266f5818d1b060d512",
  "appModules": [
  ... <TRUNCATED>...
  ]
}

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

2024-09-11T09:50:53.039Z: Request to https://partners.shopify.com/api/cli/graphql completed in 880 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"ca7203109babe60589315ca7d55fa650"
 - server-timing: processing;dur=635, socket_queue;dur=2.402, util;dur=0.6, cfRequestDuration;dur=779.999733
 - x-request-id: 663d952a-4c43-4e40-8330-df71e68125ce-1726048252

╭─ error ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                           │
│  Version couldn't be created.                                                                                                             │
│                                                                                                                                           │
│    • This app is not permitted to configure a default_placement_reference.                                                                │
│    • This app is not permitted to configure a default_placement_reference.                                                                │
│                                                                                                                                           │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

2024-09-11T09:50:53.058Z:
Running system process:
  · Command: npm prefix
  · Working directory: /Users/gabriel.breda/ShopifyAppV2

2024-09-11T09:50:53.206Z: Obtaining the dependency manager in directory /Users/gabriel.breda/ShopifyAppV2...
2024-09-11T09:50:53.209Z:
Running system process:
  · Command: ruby -v
  · Working directory: /Users/gabriel.breda/ShopifyAppV2

2024-09-11T09:50:53.459Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 239 ms
With response headers:
 - x-request-id: 49cb6799-b586-4830-91d1-646b4483f499

2024-09-11T09:50:53.460Z: Analytics event sent: {
  "command": "app deploy",
  "time_start": 1726048232341,
  "time_end": 1726048253052,
  "total_time": 20711,
  "success": false,
  "cli_version": "3.66.1",
  "ruby_version": "2.6.10",
  "node_version": "18.20.4",
  "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": "265e91ee38a27b91d41cb6e882045d967c3cf610",
  "env_cloud": "localhost",
  "env_package_manager": "yarn",
  "env_is_global": 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.custom-example.toml\":\"<client-id-goes-here>\",\"shopify.app.default.toml\":\"f489fe1d33c740d223ea46fcb5f2df58\",\"shopify.app.test-store.toml\":\"416f16b4152f61a1a23fc33cda4273e3\",\"shopify.app.toml\":\"<client-id-goes-here>\"}",
  "cmd_app_linked_config_used": true,
  "cmd_app_linked_config_name": "shopify.app.test-store.toml",
  "cmd_app_linked_config_git_tracked": false,
  "cmd_app_linked_config_source": "flag",
  "app_extensions_any": true,
  "app_extensions_breakdown": "{\"ui_extension\":2}",
  "app_extensions_count": 2,
  "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": 2,
  "app_name_hash": "b41fa3b60fab8ae8206a5b7f722f4862b7a5ef62",
  "app_path_hash": "51984829712df44cfeaa722b0af59187ad988213",
  "app_scopes": "[]",
  "app_web_backend_any": false,
  "app_web_backend_count": 0,
  "app_web_custom_layout": false,
  "app_web_frontend_any": false,
  "app_web_frontend_count": 0,
  "env_package_manager_workspaces": true,
  "partner_id": 1158673,
  "api_key": "****",
  "cmd_deploy_confirm_include_config_used": true,
  "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": 2,
  "cmd_deploy_confirm_updated_registrations": 0,
  "cmd_deploy_confirm_removed_registrations": 0,
  "cmd_deploy_confirm_cancelled": false,
  "cmd_deploy_confirm_time_to_complete_ms": 3156,
  "cmd_all_timing_network_ms": 10663,
  "cmd_all_timing_prompts_ms": 8348,
  "cmd_all_launcher": "yarn",
  "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": "51984829712df44cfeaa722b0af59187ad988213",
  "cmd_app_reset_used": true,
  "cmd_all_timing_active_ms": 1698,
  "cmd_all_exit": "expected_error",
  "args": "--reset --verbose",
  "error_message": "Version couldn't be created.",
  "app_name": "mention-me",
  "env_plugin_installed_all": "[\"@shopify/cli\"]",
  "metadata": "{\"extraPublic\":{},\"extraSensitive\":{}}"
}
2024-09-11T09:50:53.470Z: Reporting handled error to Bugsnag: Version couldn't be created.
2024-09-11T09:50:55.054Z:
Running system process:
  · Command: npm prefix
  · Working directory: /Users/gabriel.breda/ShopifyAppV2

2024-09-11T09:50:55.182Z: Obtaining the dependency manager in directory /Users/gabriel.breda/ShopifyAppV2...
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Reproduction steps

  1. git clone https://github.com/mention-me/ShopifyAppV2.git
  2. cd ShopifyAppV2
  3. Run yarn run deploy --reset
  4. Say Yes to Create this project as a new app on Shopify?
  5. Say Test Store for the App Name
  6. Say Test Store for the Configuration file name
  7. Say Yes to Includeshopify.app.test-store.tomlconfiguration on deploy?
  8. Say Yes to Release a new version of Test Store?Then you receive an error This app is not permitted to configure a default_placement_reference. instead of deploying a new version of the app like usual.

Operating System

Mac Os Sonoma 14.6.1

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

3.66.1

Shell

zsh

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

v18.20.4

What language and version are you using in your application?

Typescript with node v18.20.4

isaacroldan commented 1 month ago

Hi @gabriel-breda , we are investigating, i'll report back with an update soon

TedA510 commented 1 month ago

I've been getting the same issue, seems to be a new problem as I wasn't experiencing deployment issues a few weeks ago. Appears to be related to deployment with app extensions. Creating the app via cli successfully creates the first version, but it fails when deploying with my extensions. For reference: shopify cli version 3.66.1 app extensions: ui_extension web_pixel_extension theme

gabriel-breda commented 1 month ago

Any news @isaacroldan ? FYI this is blocking our clients to setup their thank you page.

oluwatimio commented 1 month ago

Hello @gabriel-breda just verified that this issue is fixed now, does it work for you now?

gabriel-breda commented 1 month ago

Indeed it works now, thank you @oluwatimio 👍

Any details on what happened?

gabriel-breda commented 1 month ago

Fine to close as it's working fine now, but I'd still like to understand what went wrong and how it got fix, if possible at all.