Issue summary
The storefrontAccessTokenCreate
mutation is consistently returning ACCESS_DENIED
, whereas it previously worked without issues. This behavior change occurred without any documented updates from Shopify.
Note: The issue persists even when testing with a new sales channel app.
Current App Scopes
read_content,read_markets,read_products,read_reports,unauthenticated_read_checkouts,unauthenticated_read_customer_tags,unauthenticated_read_customers,unauthenticated_read_product_listings,unauthenticated_read_product_tags,unauthenticated_read_selling_plans,unauthenticated_write_checkouts,write_customers,write_discounts,write_orders,write_themes
Expected Behavior
- The mutation should successfully create and return a new storefront access token
- If there are permission issues, the error response should provide actionable details about:
- Why the access was denied
- What permissions are missing
- How to resolve the issue
Actual behavior
The mutation consistently returns ACCESS_DENIED
without additional context.
Steps to reproduce the problem
- Install Shopify GraphQL app with all available scopes
- Execute the following mutation:
mutation StorefrontAccessTokenCreate($input: StorefrontAccessTokenInput!) {
storefrontAccessTokenCreate(input: $input) {
userErrors {
field
message
}
storefrontAccessToken {
accessToken
}
}
}
- Observe the
ACCESS_DENIED
error response