Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Re: Getting the read_apps scope to call appInstallations in GQL

Getting the read_apps scope to call appInstallations in GQL

roelofjanafosto
Shopify Partner
3 0 0

I'm trying to call the appInstallations query in GQL, but this requires the read_apps scope. I'm requesting this scope in my Oauth flow, but it's not being granted. Instead of being able to approve the oauth request and get an access token, I'm getting the error "Oauth error missing_shopify_permission: read_apps".

How do I request access to this scope? I need to determine which apps are able to create orders in the shop of this app will be installed in. I need to map these apps with sales channels in a third-party platform. I can't use publications, because this doesn't show everything (like Draft orders). 

I appreciate your help in advance!

Replies 4 (4)

lizk
Shopify Staff
246 58 77

Hi there 👋

A few follow up questions for you!

1. Can you add other scopes to your app, and on installation of the app they are being granted correctly? 

2. Are you using the Shopify CLI to create your application? After adding the scope are you pushing the updated configuration to Shopify with the shopify config push command?

To learn more visit the Shopify Help Center or the Community Blog.

roelofjanafosto
Shopify Partner
3 0 0

Yes, all other scopes I'm requesting are being granted. I'm not using the Shopify CLI, I've created a custom app through the Shopify partner interface:

roelofjanafosto_0-1696316799129.png

"Create app manually"

lizk
Shopify Staff
246 58 77

Hi there 👋

To get access to use the read_apps scope you will need to get approval to Shopify. Please reach out to Partner Support regarding this, and see if your app is applicable. 

To learn more visit the Shopify Help Center or the Community Blog.

roelofjanafosto
Shopify Partner
3 0 0

Hello!

That makes sense, I'm currently in contact with one of the Partner Support staff about this, so I hope that resolves this problem. Thanks for your help!