Hi all,
I’m building an app using the node app template cli-three. Inside of ensure-billing.js there is a query for activeSubscriptions within the currentAppInstallation but I receive “access denied” in the response from Shopify. Here’s the culprit query:
query appSubscription {
currentAppInstallation {
activeSubscriptions {
name, test
}
}
}
I’m using api version 2022-07 and I have been approved for subscription access within the partner dashboard. My access scopes are: read_customers,read_locales,read_orders,read_products,write_customer_payment_methods,write_own_subscription_contracts
Here is the response:
{
data: null,
errors: [
{
message: 'access denied',
locations: [ { line: 4, column: 7 } ],
path: [ 'currentAppInstallation', 'activeSubscriptions' ]
}
],
extensions: {
cost: {
requestedQueryCost: 2,
actualQueryCost: 2,
throttleStatus: {
maximumAvailable: 1000,
currentlyAvailable: 992,
restoreRate: 50
}
}
}
}
Is there something I’m missing?
Thanks in advance!