I have reproduced the issue on the latest CLI version.
Yes, I am on the latest version
I have searched existing posts and this report is not a duplicate.
Yes, this isn’t a duplicate
In which of these areas are you experiencing a problem?
Theme
Expected behavior
When authenticating with a valid Theme Access password, shopify theme list should return the store’s themes and shopify theme dev should start the development theme session successfully.
Actual behavior
Theme Access authentication fails when running theme list or theme dev.
The CLI sends a GraphQL publicApiVersions query to the Theme Access endpoint and receives HTTP 401:
[API] Invalid API key or access token (unrecognized login or wrong password)
The Theme Access password has already been regenerated and tested again, but the same error persists.
Shopify Support reviewed the issue and advised me to report it here with the request ID so the CLI / Theme Access team can investigate.
Reproduction steps
- Install Shopify CLI 4.7.0 on Windows.
- Install the Shopify Theme Access app on the store.
- Generate a new Theme Access password.
- Run:
shopify.cmd theme list --store veyrissa.com.myshopify.com --password [REDACTED] --verbose
- The CLI sends the
publicApiVersionsGraphQL query. - The request returns HTTP 401.
- Regenerate the Theme Access password and repeat the test.
- The same 401 error occurs.
The issue also occurs with shopify theme dev.
Verbose output
2026-09-02T03:40:20.544Z: Running command theme list
2026-09-02T03:40:20.708Z: Ensuring that the user is authenticated with the Theme API
Sending “Admin” GraphQL request:
query publicApiVersions {
publicApiVersions {
handle
supported
__typename
}
}
With request headers:
- X-Shopify-Shop: veyrissa.com.myshopify.com
- User-Agent: Shopify CLI; v=4.7.0
- Content-Type: application/json
Request to:
Request ID:
42f312c7-fd89-466e-a1b9-cb123f94159e
Error connecting to store veyrissa.com.myshopify.com:
GraphQL Error (Code: 401)
[API] Invalid API key or access token
(unrecognized login or wrong password)
Operating system
Windows 10 (win32, windows-amd64)
CLI version
4.7.0
Shell
Windows PowerShell
Nodejs version
v24.20.0
What language and version are you using in your application?
N/A - Shopify theme development
