I installed the GraphiQL explorer app with all admin and storefront permissions. When querying the ShopifyPaymentsAccount object, I get a permissions error. I am logged in as the store owner.
Hey @Michael_Zareno
- happy to take a look into this! Would you be able to share the full GraphQL query youâre using and your Shopâs ID/myshopify.com URL? I can take a look on our end here to see if we can determine whatâs causing the issue/try to replicate it.
Hope to hear from you soon!
Hi Alan,
Iâm working in the Shopify GraphiQL app. The site is:
The query is a simple one:
query MyQuery {
shopifyPaymentsAccount {
payouts(query: âid:123546239282â) {
edges {
node {
id
}
}
}
}
}
The response:
{
âerrorsâ: [
{
âmessageâ: âAccess denied for payouts field.â,
âlocationsâ: [
{
âlineâ: 3,
âcolumnâ: 5
}
],
âpathâ: [
âshopifyPaymentsAccountâ,
âpayoutsâ
],
âextensionsâ: {
âcodeâ: âACCESS_DENIEDâ,
âdocumentationâ: âShopify API access scopesâ
}
}
],
âdataâ: {
âshopifyPaymentsAccountâ: null
},
âextensionsâ: {
âcostâ: {
ârequestedQueryCostâ: 3,
âactualQueryCostâ: 3,
âthrottleStatusâ: {
âmaximumAvailableâ: 4000,
âcurrentlyAvailableâ: 3997,
ârestoreRateâ: 200
}
}
}
}
I uninstalled and reinstalled the app, selecting all permissions in the admin and storefront scopes. Iâll change that after development, which is going to be with n8n. We have working workflows in n8n already, but we want to migrate them away from the REST API.
Mike
Thanks @Michael_Zareno - I was able to do some more digging into this on my end and there does seem to be something odd happening here. We might have to move this to DM since there is some shop-specific info weâll have to share, but Iâll loop back with you as soon as I have more info here.
Speak soon!
I have the same issue, also have granted all access scopes while installing the app and am logged in as shop admin.
Please let me know when you find a solution or explaination.
I can access the balance, but not balance transactions or payouts.
Example query for payouts that returns an access denied error:
query MyQuery {
shopifyPaymentsAccount {
bankAccounts(first: 5) {
nodes {
payouts(first: 10) {
nodes {
status
net {
amount
currencyCode
}
}
}
}
}
}
}
Response:
{
âerrorsâ: [
{
âmessageâ: âAccess denied for payouts field.â,
âlocationsâ: [
{
âlineâ: 5,
âcolumnâ: 9
}
],
âpathâ: [
âshopifyPaymentsAccountâ,
âbankAccountsâ,
ânodesâ,
0,
âpayoutsâ
],
âextensionsâ: {
âcodeâ: âACCESS_DENIEDâ,
âdocumentationâ: âShopify API access scopesâ
}
}
],
âdataâ: {
âshopifyPaymentsAccountâ: null
},
âextensionsâ: {
âcostâ: {
ârequestedQueryCostâ: 24,
âactualQueryCostâ: 6,
âthrottleStatusâ: {
âmaximumAvailableâ: 2000,
âcurrentlyAvailableâ: 1994,
ârestoreRateâ: 100
}
}
}
}
I am also getting this same error. It has been driving me crazy for the past few days and I am unsure what is going on.
Even running a simple payout request gets me an access denied. Iâve tried on 3 different Shopify stores and nothing charged.
{
shopifyPaymentsAccount {
payouts {
nodes {
net {
amount
}
}
}
}
}
{
"errors": [
{
"message": "Access denied for payouts field.",
"locations": [
{
"line": 3,
"column": 5
}
],
"path": [
"shopifyPaymentsAccount",
"payouts"
],
"extensions": {
"code": "ACCESS_DENIED",
"documentation": "https://shopify.dev/api/usage/access-scopes"
}
}
],
"data": {
"shopifyPaymentsAccount": null
},
"extensions": {
"cost": {
"requestedQueryCost": 3,
"actualQueryCost": 3,
"throttleStatus": {
"maximumAvailable": 20000,
"currentlyAvailable": 19997,
"restoreRate": 1000
}
}
}
}
Looking deeper into the scopes, I see I have access to view shopify payments, which should allow access to payouts
query AccessScopeList {
currentAppInstallation {
accessScopes {
handle
}
}
}
{
"data": {
"currentAppInstallation": {
"accessScopes": [
{
"handle": "read_fulfillments"
},
{
"handle": "read_payment_customizations"
},
{
"handle": "read_payment_gateways"
},
{
"handle": "read_payment_mandate"
},
{
"handle": "read_payment_terms"
},
{
"handle": "read_products"
},
{
"handle": "read_shopify_payments"
},
{
"handle": "write_shopify_payments_accounts"
},
{
"handle": "read_shopify_payments_bank_accounts"
},
{
"handle": "write_shopify_payments_dispute_evidences"
},
{
"handle": "write_shopify_payments_dispute_file_uploads"
},
{
"handle": "write_shopify_payments_disputes"
},
{
"handle": "unauthenticated_read_content"
},
{
"handle": "unauthenticated_read_product_listings"
},
{
"handle": "read_shopify_payments_accounts"
},
{
"handle": "read_shopify_payments_dispute_evidences"
},
{
"handle": "read_shopify_payments_dispute_file_uploads"
},
{
"handle": "read_shopify_payments_disputes"
}
]
}
},
"extensions": {
"cost": {
"requestedQueryCost": 2,
"actualQueryCost": 2,
"throttleStatus": {
"maximumAvailable": 20000,
"currentlyAvailable": 19998,
"restoreRate": 1000
}
}
}
}
Just bumping this as weâre approaching 2 weeks without a solution, and a number of users have a similar issue
Bumping again! I would love to have solution for this issue!
helloo! it seems that all scopes of all Shopify GraphiQL Apps have been modified to this:
âdata": {
âcurrentAppInstallation": {
âaccessScopes": [
{
âhandle": âread_contentâ.
},
{
âhandle": âread_productsâ
},
{
âhandle": âunauthenticated_read_contentâ
},
{
âhandle": âunauthenticated_read_product_listingsâ
}
]
}
Also, I canât change the permissions by uninstalling the app and reinstalling it with all the scopes enabled.
Hey folks -
- still looking into the larger issue, but hope to have an update soon - thank you for your patience on this.
@victor Iâm not seeing those changes on my end here, my GraphiQL app is still retaining the scopes Iâve set for it. Are you still encountering the issue there?
If so, just let me know and if you can share your shopâs ID/myshopify.com URL, I can for sure take a look into this for you.
Same issue. Non-transferable shop. I am a store owner:
Any update since May?
For:
query AccessScopeList {
currentAppInstallation {
accessScopes {
handle
}
}
}
I get:
{
âdataâ: {
âcurrentAppInstallationâ: {
âaccessScopesâ: [
{
âhandleâ: âread_all_ordersâ
},
{
âhandleâ: âread_analyticsâ
},
{
âhandleâ: âwrite_appsâ
},
{
âhandleâ: âwrite_assigned_fulfillment_ordersâ
},
{
âhandleâ: âwrite_brandâ
},
{
âhandleâ: âwrite_brand_settingsâ
},
{
âhandleâ: âwrite_cart_transformsâ
},
{
âhandleâ: âwrite_checkout_branding_settingsâ
},
{
âhandleâ: âwrite_companiesâ
},
{
âhandleâ: âwrite_customersâ
},
{
âhandleâ: âread_customer_eventsâ
},
{
âhandleâ: âwrite_customer_data_erasureâ
},
{
âhandleâ: âwrite_customer_mergeâ
},
{
âhandleâ: âread_customer_payment_methodsâ
},
{
âhandleâ: âwrite_delivery_customizationsâ
},
{
âhandleâ: âwrite_discount_to_channel_publicationsâ
},
{
âhandleâ: âwrite_discountsâ
},
{
âhandleâ: âwrite_discounts_allocator_functionsâ
},
{
âhandleâ: âwrite_discoveryâ
},
{
âhandleâ: âread_disputesâ
},
{
âhandleâ: âwrite_draft_ordersâ
},
{
âhandleâ: âwrite_filesâ
},
{
âhandleâ: âwrite_fulfillmentsâ
},
{
âhandleâ: âwrite_gatesâ
},
{
âhandleâ: âwrite_gift_card_adjustmentsâ
},
{
âhandleâ: âwrite_gift_card_transactionsâ
},
{
âhandleâ: âwrite_gift_cardsâ
},
{
âhandleâ: âwrite_inventoryâ
},
{
âhandleâ: âwrite_legal_policiesâ
},
{
âhandleâ: âwrite_localesâ
},
{
âhandleâ: âwrite_locationsâ
},
{
âhandleâ: âwrite_marketing_eventsâ
},
{
âhandleâ: âwrite_marketplace_fulfillment_ordersâ
},
{
âhandleâ: âwrite_marketplace_ordersâ
},
{
âhandleâ: âwrite_marketplace_payments_configurationsâ
},
{
âhandleâ: âwrite_marketplace_returnsâ
},
{
âhandleâ: âwrite_marketsâ
},
{
âhandleâ: âread_merchant_approval_signalsâ
},
{
âhandleâ: âwrite_merchant_managed_fulfillment_ordersâ
},
{
âhandleâ: âwrite_metaobject_definitionsâ
},
{
âhandleâ: âwrite_metaobjectsâ
},
{
âhandleâ: âread_mobile_platform_applicationsâ
},
{
âhandleâ: âwrite_online_store_pagesâ
},
{
âhandleâ: âwrite_online_store_navigationâ
},
{
âhandleâ: âwrite_order_editsâ
},
{
âhandleâ: âwrite_order_submission_rulesâ
},
{
âhandleâ: âwrite_ordersâ
},
{
âhandleâ: âwrite_own_subscription_contractsâ
},
{
âhandleâ: âwrite_payment_customizationsâ
},
{
âhandleâ: âwrite_payment_gatewaysâ
},
{
âhandleâ: âwrite_payment_mandateâ
},
{
âhandleâ: âwrite_payment_termsâ
},
{
âhandleâ: âwrite_pixelsâ
},
{
âhandleâ: âwrite_price_rulesâ
},
{
âhandleâ: âwrite_privacy_settingsâ
},
{
âhandleâ: âwrite_product_feedsâ
},
{
âhandleâ: âwrite_productsâ
},
{
âhandleâ: âwrite_product_listingsâ
},
{
âhandleâ: âwrite_publicationsâ
},
{
âhandleâ: âwrite_purchase_optionsâ
},
{
âhandleâ: âwrite_reportsâ
},
{
âhandleâ: âwrite_resource_feedbacksâ
},
{
âhandleâ: âwrite_returnsâ
},
{
âhandleâ: âwrite_script_tagsâ
},
{
âhandleâ: âwrite_server_pixelsâ
},
{
âhandleâ: âwrite_shippingâ
},
{
âhandleâ: âread_shopify_paymentsâ
},
{
âhandleâ: âwrite_shopify_payments_accountsâ
},
{
âhandleâ: âread_shopify_payments_bank_accountsâ
},
{
âhandleâ: âwrite_shopify_payments_dispute_evidencesâ
},
{
âhandleâ: âwrite_shopify_payments_dispute_file_uploadsâ
},
{
âhandleâ: âwrite_shopify_payments_disputesâ
},
{
âhandleâ: âwrite_store_credit_account_transactionsâ
},
{
âhandleâ: âread_store_credit_accountsâ
},
{
âhandleâ: âwrite_taxesâ
},
{
âhandleâ: âwrite_themesâ
},
{
âhandleâ: âwrite_third_party_fulfillment_ordersâ
},
{
âhandleâ: âwrite_translationsâ
},
{
âhandleâ: âwrite_validationsâ
},
{
âhandleâ: âunauthenticated_write_bulk_operationsâ
},
{
âhandleâ: âunauthenticated_read_bundlesâ
},
{
âhandleâ: âunauthenticated_write_checkoutsâ
},
{
âhandleâ: âunauthenticated_read_contentâ
},
{
âhandleâ: âunauthenticated_read_customer_tagsâ
},
{
âhandleâ: âunauthenticated_write_customersâ
},
{
âhandleâ: âunauthenticated_write_gatesâ
},
{
âhandleâ: âunauthenticated_read_metaobjectsâ
},
{
âhandleâ: âunauthenticated_read_product_inventoryâ
},
{
âhandleâ: âunauthenticated_read_product_listingsâ
},
{
âhandleâ: âunauthenticated_read_product_pickup_locationsâ
},
{
âhandleâ: âunauthenticated_read_product_tagsâ
},
{
âhandleâ: âunauthenticated_read_selling_plansâ
},
{
âhandleâ: âunauthenticated_read_shop_pay_installments_pricingâ
},
{
âhandleâ: âread_appsâ
},
{
âhandleâ: âread_assigned_fulfillment_ordersâ
},
{
âhandleâ: âread_brandâ
},
{
âhandleâ: âread_brand_settingsâ
},
{
âhandleâ: âread_cart_transformsâ
},
{
âhandleâ: âread_checkout_branding_settingsâ
},
{
âhandleâ: âread_companiesâ
},
{
âhandleâ: âread_customersâ
},
{
âhandleâ: âread_customer_data_erasureâ
},
{
âhandleâ: âread_customer_mergeâ
},
{
âhandleâ: âread_delivery_customizationsâ
},
{
âhandleâ: âread_discountsâ
},
{
âhandleâ: âread_discounts_allocator_functionsâ
},
{
âhandleâ: âread_discoveryâ
},
{
âhandleâ: âread_draft_ordersâ
},
{
âhandleâ: âread_filesâ
},
{
âhandleâ: âread_fulfillmentsâ
},
{
âhandleâ: âread_gatesâ
},
{
âhandleâ: âread_gift_card_adjustmentsâ
},
{
âhandleâ: âread_gift_card_transactionsâ
},
{
âhandleâ: âread_gift_cardsâ
},
{
âhandleâ: âread_inventoryâ
},
{
âhandleâ: âread_legal_policiesâ
},
{
âhandleâ: âread_localesâ
},
{
âhandleâ: âread_locationsâ
},
{
âhandleâ: âread_marketing_eventsâ
},
{
âhandleâ: âread_marketplace_fulfillment_ordersâ
},
{
âhandleâ: âread_marketplace_ordersâ
},
{
âhandleâ: âread_marketplace_payments_configurationsâ
},
{
âhandleâ: âread_marketplace_returnsâ
},
{
âhandleâ: âread_marketsâ
},
{
âhandleâ: âread_merchant_managed_fulfillment_ordersâ
},
{
âhandleâ: âread_metaobject_definitionsâ
},
{
âhandleâ: âread_metaobjectsâ
},
{
âhandleâ: âread_online_store_pagesâ
},
{
âhandleâ: âread_online_store_navigationâ
},
{
âhandleâ: âread_order_editsâ
},
{
âhandleâ: âread_order_submission_rulesâ
},
{
âhandleâ: âread_ordersâ
},
{
âhandleâ: âread_own_subscription_contractsâ
},
{
âhandleâ: âread_payment_customizationsâ
},
{
âhandleâ: âread_payment_gatewaysâ
},
{
âhandleâ: âread_payment_mandateâ
},
{
âhandleâ: âread_payment_termsâ
},
{
âhandleâ: âread_pixelsâ
},
{
âhandleâ: âread_price_rulesâ
},
{
âhandleâ: âread_privacy_settingsâ
},
{
âhandleâ: âread_product_feedsâ
},
{
âhandleâ: âread_productsâ
},
{
âhandleâ: âread_product_listingsâ
},
{
âhandleâ: âread_publicationsâ
},
{
âhandleâ: âread_purchase_optionsâ
},
{
âhandleâ: âread_reportsâ
},
{
âhandleâ: âread_resource_feedbacksâ
},
{
âhandleâ: âread_returnsâ
},
{
âhandleâ: âread_script_tagsâ
},
{
âhandleâ: âread_server_pixelsâ
},
{
âhandleâ: âread_shippingâ
},
{
âhandleâ: âread_shopify_payments_accountsâ
},
{
âhandleâ: âread_shopify_payments_dispute_evidencesâ
},
{
âhandleâ: âread_shopify_payments_dispute_file_uploadsâ
},
{
âhandleâ: âread_shopify_payments_disputesâ
},
{
âhandleâ: âread_store_credit_account_transactionsâ
},
{
âhandleâ: âread_taxesâ
},
{
âhandleâ: âread_themesâ
},
{
âhandleâ: âread_third_party_fulfillment_ordersâ
},
{
âhandleâ: âread_translationsâ
},
{
âhandleâ: âread_validationsâ
},
{
âhandleâ: âunauthenticated_read_bulk_operationsâ
},
{
âhandleâ: âunauthenticated_read_checkoutsâ
},
{
âhandleâ: âunauthenticated_read_customersâ
},
{
âhandleâ: âunauthenticated_read_gatesâ
}
]
}
},
âextensionsâ: {
âcostâ: {
ârequestedQueryCostâ: 2,
âactualQueryCostâ: 2,
âthrottleStatusâ: {
âmaximumAvailableâ: 2000,
âcurrentlyAvailableâ: 1998,
ârestoreRateâ: 100
}
}
}
}
As you can see:
{ "handle": "write_orders" },
Hey @madfcat
, thanks for flagging your replication here as well. I donât have any concrete updates to share, but Iâll pass along your report to our product team and loop back with everyone here once we have more info. Would you be open to sharing your shop URL/ID here as well so I can pass that along too?
Iâll ping our product team direct as well to see if we can share anything further, appreciate you reaching out.
I just tried to run
query GetShopifyPaymentTransactions {
shopifyPaymentsAccount {
id
activated
bankAccounts(first: 10) {
nodes {
bankName
}
}
balanceTransactions(first: 10, reverse: true) {
nodes {
id
fee {
currencyCode
amount
}
amount {
currencyCode
amount
}
test
}
}
}
}
after enabling all scopes and also got the issue as others have described - can see this has been going on for a while now?
any updates?
Hey again @Evaldas_Raisutis - sending you a DM to grab some info from you to investigate further ![]()
@Alan_G Any updates? This issue has been extremely frustrating
Hey @Nicklaus_Vega and all - I donât have a fix to share, but can confirm this has been logged as an issue on our end. I canât guarantee a turnaround time, but Iâll do some more digging internally to see if we can share some more information. Speak with you as soon as I have more info on my end here.
