Hi team,
I installed a custom app on a Shopify store I own. The custom app has been granted the following permissions on my Shopify store: read_shipping, write_orders, read_orders, read_inventory, read_products.
After pasting the Admin API access token and API secret key correctly, an error occurs : it says “Error getting Shopify delivery profiles”. But my delivery profiles are already set.
I also previously tested the custom app with a Shopify development store and it worked fine.
Can you please help ?
For context: we are using Admin GraphQL.
Thanks,
Daniel
Hi Daniel,
Which objects specifically are you querying? You may need to read_locations scope if your custom app queries Location GraphQL fields.
See doc here: Migrate to read_locations scope
@Liam-Shopify Hi Liam,
I have added read_locations to my permissions, but the same error still shows up : “Error getting Shopify delivery profiles”.
My admin API access scope is :
write_orders, read_orders, read_inventory, read_products, read_shipping, read_locations
Any idea why ?
The custom app worked with a Shopify development store and I also tried it on a new Shopify store (using free trial), and it works fine as well.
Is this something to do with the Shopify plan I am subscribed to ?
Thanks,
Daniel
Hi again Daniel,
So it’s working as expected on your dev store and a new Shopify store that’s on free trial, but it’s not working on a different Shopify store you manage? As far as I know no there’s no Shopify plan restrictions that would prevent access to delivery profiles via the Admin API on paid plans, trial stores, or development stores - so I don’t think that’s the issue.
For the store where the error is appearing, are you installing/using the app with a user account that has any permission restrictions on Shipping settings? Did you reinstall the app on the store where the error is appearing?
@Liam-Shopify
Hi Liam,
Yes that is correct, custom app is working on development store and a new free trial shopify store.
No particular restrictions in my shipping profiles, I just have several custom profiles shipping to France. I did reinstall the app.
I noticed there is this message in the attached photo, taken from the custom app configuration panel : is this a potential explanation for the issue I am experiencing ?
Thanks,
Daniel
Would this app be using Carrier Calculated Shipping features?