Hello,
I am getting this error
{"errors":"[API] This app is not approved to access REST endpoints with protected customer data. See https:\/\/partners.shopify.com\/<redacted>\/apps\/<redacted>\/customer_data for more details."}%
when making a call to Rest API
curl -X GET "<redacted_store>/admin/api/2023-07/orders.json?status=any" \
-H "X-Shopify-Access-Token: <redacted>"
with my store’s development token.
I have already filled up Step 1 of the Protected Customer Data request and my app is only installed on a development store. I have tried reinstalling the app multiple times, but I’m still having this issue.
For context, my app is a Checkout UI extension application.
Has anyone encountered this issue and if so, how did you solve it?
Thanks
Thanks! Are you saying that I need to complete Step 2 as well and submit the request in order to have API access on a development store?
That is different from what the docs says here though:
To request access:
-
From the Partner Dashboard, go to Apps, and then select your app.
-
In the sidebar, click API access.
-
Find Protected customer data access and click Request access.
-
Select Protected customer data, provide your reasons for using it, and click Save.
-
If your app needs access to protected customer fields, then select the relevant fields, provide your reasons for using them, and click Save.
-
Complete your Data protection details, making sure that your app meets the protected customer data requirements.
-
Submit your app for review.
If your app is for testing or installed only on a development store, you can access customer data in development after Step 5. You don’t need to submit for review.
I have managed solve this with your help and Partner support.
Apparently there was some configuration issue with my app
- I did not set a distribution. However upon setting it up, I still had an issue with the app so I had to delete it and reset again, and its now working
1 Like