Shopify CLI not connecting to development store, authorization error

Hello,

I’m trying to use Shopify CLI with my development store: fatina-dev.myshopify.com. I am the store owner and logged in using my Gmail account. When I run the following command:

shopify theme dev --store=Fatina.dev

I get this error:

You are not authorized to use the CLI to develop in the provided store...

I’ve already:

  • Logged into the store directly using the admin URL
  • Logged in successfully through the browser (I see “Successfully logged in”)

Why is the CLI not recognizing me as the store owner, and how can I fix this?

Thank you in advance!

Hi @fatina_elomar

If you run shopify auth logout and then attempt this flow again does this work for you?

Hi @Liam-Shopify, thank you! Yes, it’s solved, I just logged out and logged back in, and it’s working now.

1 Like

Glad to hear - best of luck with the rest of your project!

1 Like