Facing not authorized error while setting up local development

Solved

Facing not authorized error while setting up local development

oh-my-ink
Visitor
2 0 0

I am a shop owner of my store. I tried to setup local development environment following the instruction here.  I managed to log in to my store with my owner account and have gone through user verification code. However, I kept getting the error of "You are not authorized to use the CLI to develop in the provided store" in CLI.

 

How do I resolve the issue?

Accepted Solution (1)
shashwat-tiwari
Visitor
1 1 2

This is an accepted solution.

I tried using this format of command and it worked for me:
Updated command: shopify theme dev --store=store-name
Command mentioned in Shopify: shopify theme dev --store {store-name}

Hope it works for you.

View solution in original post

Replies 3 (3)

squisharoo
Visitor
1 0 0

honestly i would like a very detailed explanation on how to fix this as well, im currently at a all-time halt with my project here due to this reason. its preventing me from customizing anything and is very frustrating. even though i am the owner of the shopify account and not to mention there isnt any  accounts or staff etc.. listed within that shopify storefront, i still seem to be getting these errors.

 

squisharoo_0-1727282521506.png

 

shashwat-tiwari
Visitor
1 1 2

This is an accepted solution.

I tried using this format of command and it worked for me:
Updated command: shopify theme dev --store=store-name
Command mentioned in Shopify: shopify theme dev --store {store-name}

Hope it works for you.

oh-my-ink
Visitor
2 0 0

Thanks Shashwat-Tiwari. Confirm using this command shopify theme dev --store=store-name works.