I recently encounter an issue while trying to push my code to the themes for my online store 2.0. When I ran the command:
shopify theme push --store temporaryname.myshopify.com --ignore "**/*.json"
I get this error when pushing to a theme on my shopify store even though I’m logged in as a store owner:
You are not authorized to edit themes on "temporaryname.myshopify.com".
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.
If you're the store owner, then you need to log in to the store directly using the store URL at least once (for example, using "https://temporaryshopname.myshopify.com/admin") before you log in using Shopify CLI. Logging in to the Shopify admin directly connects the development store with your Shopify login.
How do I resolve this issue?
