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:
âread_productsâ,
âread_ordersâ,
âread_inventoryâ,
âread_locationsâ,
Bulk query:
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
}
}
}