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!
Just tried installing an older version and that didn’t work as well… thanks again for all of your help! Is there any or requirements for being able to use the shopify CLI with a store? I am using the owner email address but I don’t see any settings specific for this on the site… Anyhow, thanks again.
So if I register the store owner email as a partner account it should work? Also quick note for the plan that I’m on I cannot add any additional staff and would have to upgrade. Maybe that has something to do with it? Thanks so much, will try it out.
Okay! I think I figured it out. It looks like you do indeed need to have a partner account set up - for this I just registered using the same email as my store owner email. After that I was able to start manipulating and managing themes from the CLI, yay!
The only other thing that I noticed is that the store id was different than the url slug that I registered for the store - so I used the --store=xxxxx-xxx format and then everything started working. Very happy to be able to use my local dev tools to work on themes
Thanks for everyone’s help! If anyone else is having the same issue please try out my answer here as a solution.
@scottlandes Can you please describe the steps to set up a “Partner account” and link it to your existing Shopify store(s)? Or what exactly you did to login again in the CLI.
Any idea why we now need a “Partner” account for it?
Thanks!