Access denied for Order statusPageUrl field even with customer data access enabled

Unable to access statusPageUrl field on Orders. Was able to resolve the issue on development stores by requesting customer data access. However when I released it on our production app we are facing the error again.

What could be the possible issue here?

Scopes:

Customer data access:

Hi @kartik-stoq

What is the error that the GraphQL Admin API returns specifically when you try to access the statusPageUrl property?

Additionally, have you double checked that the specific access token you’re testing with has the read_orders access?

Which version are you using? If 2025-07 or higher, are you including the new arguments?

This field also requires level 2 protected customer data so make sure you have that.

@KyleG-Shopify

We are currently on the 2025-04 version so the new arguments aren’t needed.

How can I confirm what level of protected customer data I have? I have a feeling it’s this but I can’t see what level I have and how I can get the level 2 access.

@Dylan

The error message comes in the userErrors and just says: “Access denied for Order statusPageUrl field”. The token does have both read_orders and read_all_orders.

Thanks both of you for looking into this.

We have some fields in the “Provide your data protection details” section of “API Access > Protected customer data access” that have been set to “Not applicable” instead of “Yes”. Is that possibly the issue? The answer can easily be yes because of our policies we just felt it wasn’t applicable.

I want to update the values to “Yes” but I’m worried about resetting the status to “Draft”. Will that break our app currently?

Yes, it’s possible that your app doesn’t have level 2 protected customer fields access. That would explain this problem.

You may need to reach out to Partner Support directly for the steps to take to escalate to level 2.

1 Like