Discussing APIs and development related to customers, discounts, and order management.
Hi,
The bulk query below suddenly started failing with status ACCESS_DENIED from the 16th of August. The query before and after the 16th of August is the same.
If I create a private app on the same shop with the same scopes and make the same query, access is not denied, I checked the requested scopes on the app installation:
query { app{ requestedAccessScopes{ handle } } } { "data": { "app": { "requestedAccessScopes": [] } }, "extensions": { "cost": { "requestedQueryCost": 2, "actualQueryCost": 2, "throttleStatus": { "maximumAvailable": 2000.0, "currentlyAvailable": 1998, "restoreRate": 100.0 } } } }
which explains the problem, but how can the scopes the merchants granted a long time a go suddenly be not-granted?
Details:
App scopes:
mutation { bulkOperationRunQuery( query: """ { orders { edges { node { id totalPriceSet { shopMoney { amount } } name displayFinancialStatus displayFulfillmentStatus createdAt updatedAt cancelledAt closedAt lineItems { edges { node { id variant { id } quantity originalUnitPriceSet{ shopMoney { amount } } fulfillmentStatus fulfillableQuantity refundableQuantity } } } transactions { id kind amountSet { shopMoney { amount } } } } } } } """ ) { bulkOperation { id status } userErrors { field message } } }
Solved! Go to the solution
This is an accepted solution.
Hi Scott,
Thank you for your message. I was just informed in another channel that it might be a "Protected customer data access" issue. I've now submitted the request - if you can fasttrack it (app 3081783), I appreciate it - otherwise I'll just wait and see.
Thanks,
-Louise
Hey @LouiseEH
Strange. Can you DM me store + app details please?
Scott | Developer Advocate @ Shopify
This is an accepted solution.
Hi Scott,
Thank you for your message. I was just informed in another channel that it might be a "Protected customer data access" issue. I've now submitted the request - if you can fasttrack it (app 3081783), I appreciate it - otherwise I'll just wait and see.
Thanks,
-Louise