Oauth error missing_shopify_permission: read_shopify_payments

Hi there! We’re trying to get API access to be able to read the Payout data for a Shopify store; and although we have already added the permission scope for “read_shopify_payments_payouts”, we still get the below error when querying payouts:
“message”: “Access denied for payouts field.”,

So, after a bit of digging, it seems there’s a scope that might be named “read_shopify_payments”, even though we can’t find it in Shopify docs? However, we get the below error when requesting this scope for a store.

We also reached out to Partner Support in case this is something that has to be enabled internally, but it’s not clear if this is the case, as Shopify docs seem to state that the only scope that’s needed is “read_shopify_payments_payouts” - although that doesn’t appear to be the case in reality?

Any clarity is welcome :slight_smile:

Hey @myworks,

Happy to look in to this with you. Can you share an example of the query you’re making?

I’ve seen this happen before when there’s a connection within the query that requires additional scopes. You can use process of elimination to narrow down specifically which field is causing the error.

For context on the error, read_shopify_payments scope is not a scope that is able to be requested, so we would typically expect the more specific scopes like read_shopify_payments_payouts to work.

Thanks @KyleG-Shopify! I was able to get this to work - that read_shopify_payments_payouts scope was indeed helpful. Appreciate it!

1 Like