You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
In which of these areas are you experiencing a problem?
Theme
Expected behavior
the command shopify theme dev should start the development theme
Actual behavior
When I use shopify theme dev the CLI fails with the error message:
Failed to fetch theme:
No additional information or suggestions are provided, making it difficult for the user to understand the root cause or how to resolve the issue. The theme also does not exist, when I try to use shopify theme delete.
Verbose output
2025-01-14T12:48:45.479Z: Running command theme dev
2025-01-14T12:48:45.484Z: Notifications to show: 0
2025-01-14T12:48:45.492Z: Ensuring that the user is authenticated with the Theme API with the following scopes:
[]
2025-01-14T12:48:45.492Z: Ensuring that the user is authenticated with the Admin API with the following scopes for the store dermalogica-shop.myshopify.com:
[]
2025-01-14T12:48:45.687Z: The identity token is valid: true
2025-01-14T12:48:45.687Z:
The validation of the token for application/identity completed with the following results:
jo-elbdev
changed the title
[Bug]: theme dev: Failed to fetch theme: <non-existant-theme-id>
[Bug]: theme dev: Failed to fetch theme: <non-existent-theme-id>
Jan 14, 2025
Please confirm that you have:
In which of these areas are you experiencing a problem?
Theme
Expected behavior
the command shopify theme dev should start the development theme
Actual behavior
When I use shopify theme dev the CLI fails with the error message:
Failed to fetch theme:
No additional information or suggestions are provided, making it difficult for the user to understand the root cause or how to resolve the issue. The theme also does not exist, when I try to use shopify theme delete.
Verbose output
2025-01-14T12:48:45.479Z: Running command theme dev
2025-01-14T12:48:45.484Z: Notifications to show: 0
2025-01-14T12:48:45.492Z: Ensuring that the user is authenticated with the Theme API with the following scopes:
[]
2025-01-14T12:48:45.492Z: Ensuring that the user is authenticated with the Admin API with the following scopes for the store dermalogica-shop.myshopify.com:
[]
2025-01-14T12:48:45.492Z: Getting session store...
2025-01-14T12:48:45.493Z: Validating existing session against the scopes:
[
"openid",
"https://api.shopify.com/auth/shop.admin.graphql",
"https://api.shopify.com/auth/shop.admin.themes",
"https://api.shopify.com/auth/partners.collaborator-relationships.readonly",
"https://api.shopify.com/auth/shop.storefront-renderer.devtools",
"https://api.shopify.com/auth/partners.app.cli.access",
"https://api.shopify.com/auth/destinations.readonly"
]
For applications:
{
"adminApi": {
"scopes": [],
"storeFqdn": "dermalogica-shop.myshopify.com"
}
}
2025-01-14T12:48:45.493Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2025-01-14T12:48:45.493Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
2025-01-14T12:48:45.684Z: Request to https://accounts.shopify.com/oauth/introspection completed in 191 ms
With response headers:
2025-01-14T12:48:45.687Z: The identity token is valid: true
2025-01-14T12:48:45.687Z:
The validation of the token for application/identity completed with the following results:
2025-01-14T12:48:45.688Z: Getting development theme...
2025-01-14T12:48:45.690Z: Sending "Admin" GraphQL request:
query publicApiVersions {
publicApiVersions {
handle
supported
__typename
}
}
With variables:
{}
With request headers:
to https://myshop-shop.myshopify.com/admin/api/unstable/graphql.json
2025-01-14T12:48:45.833Z: Request to https://myshop-shop.myshopify.com/admin/api/unstable/graphql.json completed in 143 ms
With response headers:
2025-01-14T12:48:45.834Z: Sending "Admin" GraphQL request:
query getTheme($id: ID!) {
theme(id: $id) {
id
name
role
processing
__typename
}
}
With variables:
{
"id": "gid://shopify/OnlineStoreTheme/168740192521"
}
With request headers:
to https://dermalogica-shop.myshopify.com/admin/api/2025-01/graphql.json
2025-01-14T12:48:45.985Z: Request to https://dermalogica-shop.myshopify.com/admin/api/2025-01/graphql.json completed in 150 ms
With response headers:
╭─ error ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ Failed to fetch theme: 168740192521 │
│
Reproduction steps
Operating System
Mac OS Sonoma 14.5
Shopify CLI version (
shopify --version
)3.73.1
Shell
No response
Node version (run
node -v
if you're not sure)No response
What language and version are you using in your application?
No response
The text was updated successfully, but these errors were encountered: