Getting the "You are not authorized to use the CLI to develop in the provided store" error :(

Topic summary

A developer is encountering an authorization error when attempting to use shopify theme dev to edit their Shopify theme locally via the CLI. Despite using the store owner account and having the latest versions of the CLI and Node.js installed, the command fails with “You are not authorized to use the CLI to develop in the provided store.”

Key Details:

  • The issue affects multiple users in the community
  • Shopify support was unable to resolve the problem
  • Previous forum suggestions were unsuccessful for the original poster

Proposed Solution:
Another user reported resolving the same error by explicitly specifying the store URL in the command:

  • Use: shopify theme dev --store <yourstore.myshopify.com>
  • Important: The store URL must be in the format xxx.myshopify.com

The discussion remains open as the original poster has not confirmed whether this solution worked for their case.

Summarized with AI on November 3. AI used: claude-sonnet-4-5-20250929.

I am attempting to pull down and edit my theme locally using the CLI and I’m getting this error - “You are not authorized to use the CLI to develop in the provided store.”

The command I’m trying to use is shopify theme dev and I’m using the latest version of the shopify CLI, node, etc.

The account I’m using to login is the store owner account so there should be no issue there. I’m seeing that some other people are running into this error as well. I tried reaching out to shopify support and they were absolutely no help whatsoever.

As a developer, I would love to be able to edit themes locally, and this is a huge hinderance to what i can accomplish. Thanks for any help!

One last thing, I saw a few other people in this forum having the same issue. I tried everything that was offered and nothing works. Thanks for any help!

1 Like

I have the same problem

I had the same problem, but I solved it with the following command line. Hope it helps.

shopify theme dev --store <yourtore.myshopify.com>. Must be xxx.myshopify.com