[FIXED - may require your action] CLI dev/deployment issues

Update 4: Fix shipped - please post if you continue to experience issues.

Update 3: @Isaac has confirmed Shopify are aware of the issue and implementing a fix.

Since this morning, running any app commands results in:

UPDATE: on the latest CLI version 3.76.2 the failure only appears on deploy for me, dev works as expected.

UPDATE 2: It looks like some folks are having success for deployment on version 3.76.2

11 Likes

Had the same issue. After updating @shopify/cli to 3.76.2 the error has changed to

โ•ญโ”€ error โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                                                                                                         โ”‚
โ”‚  App configuration is not valid                                                                                         โ”‚
โ”‚  Validation errors in shopify.app.production.toml:                                                                      โ”‚
โ”‚                                                                                                                         โ”‚
โ”‚  โ€ข [auth]: Required                                                                                                     โ”‚
โ”‚                                                                                                                         โ”‚
โ”‚                                                                                                                         โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Auth is defined in the config with redirect_urls. The config file has been working for months as it is.

1 Like

Having updated to the latest CLI version, I am able to get app dev to work, but app deploy fails with a separate issue:

had the same issue since morning but dev and deploy both started working on updating Shopify CLI to latest version.

2 Likes

+1 - Iโ€™m stuck on this error and canโ€™t spin up any dev environments

App configuration is not valid                                              
Validation errors in shopify.app.toml:                              
 โ€ข [auth]: Required        

@shopify/cli/3.76.2 darwin-arm64 node-v23.9.0

3 Likes

Same here when running shopify app dev!!!

1 Like

same here. Stuck on similar error.

Everything worked good yesterday and this morning I have issues when I run.
โ€œshopify app devโ€ , or โ€œshopfiy app config useโ€ I get error:

But if I remove the direct admin access this is working:

I need the direct admin for my app to work correctly

Shopify cli version: 3.76.2

3 Likes

Faced the same issue.

Was able to get it working after updating to Shopify CLI version: 3.76.2 and re-installing the dependencies.

Package JSON

I had this issue on shopify app deploy command before, for me this started happening when I migrated from http webhooks to event bridge webhooks.

check if you have use_legacy_install_flow = true in your toml, removing that fixed the issue for me.

nope. I donโ€™t have that

Update: Removing direct access mode fixes the issue, which makes me think that is the problem

1 Like

Hi everyone, we are looking into this issue and hope to deploy a fix soon.
In the meantime upgrading to the latest version (3.76.2) should work for most cases.

Iโ€™ll post here later once we know more.
Sorry for the inconvenience this is causing.

6 Likes

FYI

I am facing the issue even with version 3.76.2

Just FYI - it looks like when the deployment is successful, it removes all of the scopes completely; so Iโ€™d recommend not downgrading to get around the issue (v3.75.0) - @denniscessan

1 Like

Yes can confirm, with 3.75.0 it will remove all your scopes if you deploy.

1 Like

Issues with webhook access scopes and direct api mode still seem to persist on the latest version^

shopify --version: @shopify/cli/3.76.2 darwin-arm64 node-v23.9.0

Though downgrading to 3.76.1 seems to fix the access scope issues with webhooks + access mode and successfully deploys^

1 Like

Donโ€™t forget if this happened to you (release with no scopes) you can roll back from the Partner dashboard - phewโ€ฆ

2 Likes

For whoever is stuck, I second that for whom the problem was cause by the presence of

[access.admin]
embedded_app_direct_api_access = true

using version 3.76.1 is working today

Hello everyone, a fix has been shipped, and all versions of the CLI should now be working without issues.

Please let us know if you still encounter any problems when developing or deploying.

I want to apologize for this incident and for disrupting your workflows today. Weโ€™ll learn from this and implement the necessary measures to prevent similar incidents in the future.

EDIT:
If you still see the issue on version 3.76.x, please run this first:
shopify cache clear

4 Likes