[CLI] Your development session could not be created

Not sure what’s going on but whatever was pushed to the CLI this afternoon has broken something..

Trying to run shopify theme dev and getting this error:

Your development session could not be created because the store password is invalid. Please, retry with a different password.

A few people have reported this over on Slack:

Can this be looked at urgently because the CLI just isn’t usable. I’m on the latest version (3.82.1)

@gonzaloriestra @Liam-Shopify @KyleG-Shopify @Alan_G

Sorry for the mass tag here but this is fairly urgent. Devs can’t do any work at all with this, many people reporting it.

A github issue has been created too:

1 Like

Hey @Luke could you try login out and back in. It should be working again.
Login out will help with caching and should get you back and running.

Thanks for flagging this :folded_hands:

It’s working again now after logging out and trying again.

Can we please get a post-mortem of what happened here?

It’s really not ideal something we rely on to do development with Shopify to go down :frowning:

Running into the same issue and have tried everything with no luck. It was working late Friday, and now it’s not. I’ve changed the domain, re-authenticated, updated the password multiple times—nothing helps. Removing the --environment flag gets it working, but then we can’t use a dev theme, which is a pain.

We’re using a shopify.theme.toml file with a Theme Access password so devs can work with proper development themes. Super frustrating, especially since nothing has changed on our end. I also updated to the latest CLI version after seeing the issue—still no fix.

@cory_kelley I let the team know.
Give it another try. You might need to log out and back in.

@Ludo_Shopify I did logout/login, but I’ll keep trying. Thanks for looking into this!

Working now! Thanks all!

@Ludo_Shopify Another one of our developers is encountering this error, while I am not. We tested using:

  • the exact same CLI version
  • same app config .toml file
  • same dev store
  • same command: shopify app dev --theme 1234567890

There is no prompt to enter the store password, it just displays the “store password is invalid message”.

Also tried logging out of CLI, but no luck.