App reviews, troubleshooting, and recommendations
Hi,
I have an app with the scope write_discounts.
I try the following query:
{ automaticDiscountNodes (first: 3) { edges { node { id } } } }
And I get:
{ "data": null, "errors": [ { "message": "Access denied for automaticDiscountNodes field.", "locations": [ { "line": 2, "column": 3 } ], "path": [ "automaticDiscountNodes" ], "extensions": { "code": "ACCESS_DENIED", "documentation": "https://shopify.dev/api/usage/access-scopes" } } ], "extensions": { "cost": { "requestedQueryCost": 5, "actualQueryCost": 2, "throttleStatus": { "maximumAvailable": 1000.0, "currentlyAvailable": 998, "restoreRate": 50.0 } } } }
I use API version 2023-10.
Kind regards,
-Louise
Solved! Go to the solution
This is an accepted solution.
Moved it to the correct forum here: https://community.shopify.com/c/shopify-functions/quot-access-denied-for-automaticdiscountnodes-fiel... - will close this issue
This is an accepted solution.
Moved it to the correct forum here: https://community.shopify.com/c/shopify-functions/quot-access-denied-for-automaticdiscountnodes-fiel... - will close this issue
Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025