[Bug]: You are not authorized to use the CLI to develop in the provided store. #5371
Open
2 tasks done
Labels
Type: Bug
Something isn't working
Please confirm that you have:
In which of these areas are you experiencing a problem?
Theme
Expected behavior
-Shopify theme dev
-Shopify theme dev --store "mystore.myshopify.com"
-Shopify theme list
-Shopify theme pull
All this commands should prompt the login process and work. There is a login issue, with all the users we have, and even new users, admins and store owners we created.
Actual behavior
╭─ error ───────────────────────────────────────────────────────────────────────────────────────────── │
│ You are not authorized to use the CLI to develop in the provided store.
│
│ 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
│ before you log in using Shopify CLI.Logging in to the Shopify admin directly connects the development
│ store with your Shopify login.
│
╰───────────────────────────────────────────────────────────────────────────────────────────
We keep getting this error. We have 2 stores we're continuously developing. We're basically locked out of the CLI at this point, nothing works.
We've created new users, tried different environments, reinstalled dependencies, cleared browsers cache and cookies, etc etc..
Verbose output
Verbose output
"command": "theme list",
"time_start": 1738938657223,
"time_end": 1738938663777,
"total_time": 6554,
"success": false,
"cli_version": "3.74.1",
"ruby_version": "",
"node_version": "18.20.0",
"is_employee": false,
"uname": "windows amd64",
"env_ci": false,
"env_plugin_installed_any_custom": false,
"env_plugin_installed_shopify": "["@shopify/cli"]",
"env_shell": "\AppData\Local\Programs\Git\usr\bin\bash.exe",
"env_device_id": "",
"env_cloud": "localhost",
"env_package_manager": "npm",
"env_is_global": true,
"env_auth_method": "none",
"cmd_app_warning_api_key_deprecation_displayed": false,
"cmd_all_timing_network_ms": 662,
"cmd_all_timing_prompts_ms": 857,
"cmd_all_launcher": "unknown",
"cmd_all_topic": "theme",
"cmd_all_plugin": "@shopify/theme",
"cmd_all_verbose": true,
"cmd_all_path_override": false,
"cmd_all_timing_active_ms": 5034,
"cmd_all_exit": "expected_error",
"user_id": "unknown",
"request_ids": [],
"args": "--verbose",
"error_message": "You are not authorized to use the CLI to develop in the provided store.\n\nYou 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.\n\nIf you're the store owner, then you need to log in to the store directly using the store URL at least once before you log in using Shopify CLI.Logging in to the Shopify admin directly connects the development store with your Shopify login.",
"env_plugin_installed_all": "["@shopify/cli"]",
"metadata": "{"extraPublic":{},"extraSensitive":{}}"
Reproduction steps
Operating System
Windows 11
Shopify CLI version (
shopify --version
)3.74.1
Shell
Powershell / Bash
Node version (run
node -v
if you're not sure)18.20.0
What language and version are you using in your application?
Ruby 3.3.7
The text was updated successfully, but these errors were encountered: