I’m having trouble with the Shopify CLI. When I run shopify theme serve in my project, I get an error message. This is weird because I’m the store owner. I even made a staff account with all the permissions, but it didn’t help.
The error says:
You can't use Shopify CLI with development stores if you only have Partner staff member access. If you want to use Shopify CLI to work on a development store, then you should be the store owner or create a staff account on the store.
But I am the owner! What’s going on? Has anyone else run into this? How can I get the CLI to work properly? I’ve tried logging out and back in, but no luck. Any ideas on how to fix this would be great. Thanks!
hey avamtz, that sounds annoying. have u tried clearing ur browser cache and cookies? sometimes that messes with the cli auth. also, double check ur in the right directory when running the command. if nothin else works, try uninstalling and reinstalling the cli. good luck!
This issue can be frustrating, especially when you’re certain you have the correct permissions. One thing that’s worked for me in similar situations is to double-check the store URL in your config file. Sometimes, it can be pointing to a different store or development environment without you realizing it. Also, try running ‘shopify auth logout’ followed by ‘shopify auth login’ to ensure you’re authenticated with the correct account. If these don’t work, reviewing your Partner account settings and ensuring your store is properly linked might reveal the problem. Lastly, updating the CLI to the latest version has resolved odd permission errors for me in the past.
I’ve seen this arise before and it can be a bit perplexing. In my case, the issue resolved once I ensured that I was logged into the correct account within the CLI. It turns out that sometimes multiple accounts make things confusing. Reinstalling the CLI also cleared up some hidden glitches. In addition, an extra step that helped was clearing your browser’s cache and cookies before reauthenticating. If the problem persists, contacting Shopify support could be the next best step to identify any account-specific issues.