Issues with connecting my theme with Shopify/cli

Topic summary

A developer is encountering an authorization error when attempting to use the shopify theme pull command to access a client’s Shopify store. The error message states “You are not authorized to use the CLI to develop in the provided store.”

Key Context:

  • The developer had partner access and was working successfully on the theme the previous week
  • After replacing their laptop’s hard drive, the error began appearing
  • The client confirmed access permissions are still active
  • The developer can still access the store through the admin interface

Suggested Troubleshooting Steps:

  • Verify Shopify CLI installation is correct
  • Re-authenticate and confirm development access permissions for the theme
  • Confirm the store is configured as a development store
  • Clear Shopify CLI cache and restart

The issue remains unresolved and appears to be related to CLI authentication rather than actual store access permissions.

Summarized with AI on October 31. AI used: claude-sonnet-4-5-20250929.

So I have this client I’m working with to build his Shopify theme and I’m trying to run the ‘shopify theme pull’ command to login and pull the themes from the store of which I’ve been given partner access to but for some reason I keep getting this error ‘You are not authorized to use the CLI to develop in the provided store.’ which I find ridiculous because I was just working on this theme just last week and everything was fine but I had to change my laptop’s hard drive because of some issues it was having so coming back to work on the project yesterday and I keep getting that error and I’ve asked the client if I still have access and he confirmed I still do and I’ve been able to see that I still have access via the store admin.

What do I do?

Hi,

Hope this will help

  • Check Shopify CLI installation
  • Login agian and confirm theme having the develoipment access.
  • Make sure it is a development store and try shopify pull agian
  • Restart and clear shopify CLI cache