Our public embedded app needs to register webhook subscriptions for protected topics (ORDERS_CREATE, ORDERS_PAID, ORDERS_FULFILLED, ORDERS_CANCELLED, REFUNDS_CREATE, CUSTOMERS_CREATE) via the Admin GraphQL API using a token-exchange (new embedded auth) offline access token.
Symptom: On our development stores, every Admin GraphQL operation that touches protected customer data returns HTTP 403{"errors":{"networkStatusCode":403,"message":"GraphQL Client: Forbidden"}}, while non-protected queries on the same endpoint with the same token succeed:
This worked previously when the app used custom/development distribution; it began 403-ing after the app moved to public distribution.
Everything in the documented setup is complete:
Partner Dashboard → API access requests → Protected customer data access: base access + all four fields (Name, Email, Phone, Address) selected, usage reasons provided, Data protection details completed (all questions). Status badge shows Draft (we understand from your team that Draft should not block development-store access).
Granted scopes on the install include write_orders (implies read_orders) and read_customers — verified in our session store.
Released a current app version (wafonic-4) and reinstalled — grant updated correctly, but the 403 persists.
Both stores are Development stores.
Question: Why is protected customer data access not being honored on our development stores despite the access being configured (Draft)? Is a review submission now mandatory for public apps even for development-store testing, or is this the known new-Dev-Dashboard PCD issue? How do we unblock webhook registration for protected topics?
Hi @Atif! You’re right that Draft status shouldn’t be blocking you here. For public apps, protected customer data access is granted on development stores once you select the data and fields in the Dashboard, no approval needed for dev-store testing. So the Draft label by itself isn’t the cause.
What stands out is the hard 403. When an app genuinely lacks PCD access, the Admin API returns HTTP 200 with the protected fields nulled out and an errors entry explaining the access gap, so a 403 Forbidden is already an unusual signal here. A blanket token problem would also fail your shop { name } call, but that returns 200, so the failures are landing specifically on the protected operations.
Can you grab the x-request-id response header from one or two of the failing webhookSubscriptions or webhookSubscriptionCreate calls and share those? The request ID lets me look up the logs for those calls and see where the issue actually lies - thanks!
Hi @Donal-Shopify – same issue here. Building an app that creates coupons, basically a better spin-the-wheel app. And my coupon codes weren’t getting generated.
Upgraded @shopify/shopify-app-remix 3.8.5 → 4.2.1 and enabled future.expiringOfflineAccessTokens
Since my app is a public app created after April 1, 2026, I find that Shopify’s new expiring-token mandate applies.
shopify-app-remix@3.8.5 doesn’t know about it (my fault) — token exchange kept minting non-expiring tokens, and Shopify 403’d every Admin API call I made, which is why no coupon code could ever be created (and why fresh tokens failed just like old ones).
Feedback for Shopify: @shopify/graphql-client discarding the 403 response body (“response”: {}) is what made this so hard to diagnose — Atif’s app above may also be post-April-2026. Maybe a better error response would help.
Yet, request ID for your reference: 545cd19d-4e4c-4081-bf92-c9872c32c6ef-1784698087
@kraftpixel Your diagnosis is spot on. I traced that request ID and it confirms exactly what you found. The 403 is the expiring-token enforcement rejecting a non-expiring offline token before the query ever runs. The server-side error message is explicit (“Non-expiring access tokens are no longer accepted for the Admin API”), so this is a token-level rejection, not a data-access issue. On 3.8.5 the expiringOfflineAccessTokens flag is silently ignored because that flag didn’t exist until @shopify/shopify-app-remix v4.1.0. Token exchange kept minting non-expiring tokens, and every Admin call got rejected.
Since you’ve already moved to 4.2.1 and enabled the flag, confirm your offline session row shows a populated expires value after a fresh reinstall. If expires is set, token exchange minted an expiring token and you’re past this. If calls still 403 after that, grab a fresh x-request-id so I can check whether something else is going on. The expiring vs non-expiring offline tokens section covers the mechanics, and the April 2026 changelog has the enforcement timeline.
@Atif Since your app moved from custom to public distribution, the same non-expiring-token rejection is the most likely cause on your side. The Draft PCD status isn’t the blocker here. Protected customer data is available on development stores once you’ve selected the fields in the Dashboard. A genuine access gap returns 200 with redacted fields and an errors entry, not a hard 403. If you can share an x-request-id from one of the failing webhookSubscriptions or webhookSubscriptionCreate calls, I can confirm whether it’s the same token rejection.
On the @shopify/graphql-client point, @kraftpixel, fair feedback that swallowing the 403 body makes this harder to diagnose. The server response does include a clear message, so surfacing it client-side would have saved you a lot of the runaround. This is useful feedback for the team to consider so thanks for pointing it out!