Service eligibility and regional restrictions
PuppyIP serves only compliant overseas businesses and their authorized personnel. Proxy services are not available in mainland China. The service may only be used for lawful business activities outside mainland China. Use of this service within mainland China is prohibited.
Hosting a proxy IP or server overseas does not change these restrictions. The service must not be provided to end users in mainland China through relaying, forwarding, sharing or resale. Before use, read the Terms of Service.
Key Takeaways
- Both mutations require `write_pixels`, `read_customer_events`, and `write_server_pixels`.
- Missing staff app access produces the same access denied error as a missing scope. Check the GraphQL `errors` array and the mutation data.
- A denied update leaves the existing event destination in place. A successful update deletes previous server pixel subscriptions.
Find the calling identity when Shopify returns ACCESS_DENIED
Start with the operation name, shop, app, and token mode in your request records. If the integration used an online access token, check that specific staff member’s access to the app in Shopify admin. The administrator who can open the app may be a different user from the one whose token made the request.
Next, confirm that the current app installation has all three scopes. Capture the GraphQL `errors` and error code. Look up token status in your authorization system and keep only safe identifiers in logs. Shopify documents HTTP 401 for an expired online token and `ACCESS_DENIED` for a valid token whose user lacks access. For a permission denial, check both the scopes and the user’s app access.
Record HTTP status and GraphQL errors separately
A client that counts every HTTP 2xx response as success can record a GraphQL authorization error as a successful configuration change. Log the operation name, request ID, GraphQL error code, and whether the mutation returned its business object. Use those details to route authorization and configuration issues separately.
For jobs that span several stores, compare the app installation and approvals across shops, then compare staff identities in the same shop. That helps identify whether an admin needs to grant app access or the integration needs to check the token’s granted scopes. Preserve the denial reason in the retry queue so an authorized operator can rerun the update after correcting access.
Choose the token mode for the workflow
For an in-app settings change by a staff member, keep the online-token flow. Have an authorized shop administrator confirm that the user should be able to make the change and grant access to the specific app. Surface the denial or ask staff to have an administrator review their permissions.
A background job that needs to update the destination without a staff session can use an offline token issued for the app and shop. All three scopes still apply. If a staff action queues the job, validate that action’s authorization in your app before handing it off to a worker with the shop’s offline token.
Verify in a development store and check event delivery after an update
Record the current endpoint and subscriptions in a development store. Compare responses from online tokens for users with and without app access. A rejected request should show the GraphQL error without a mutation payload, while the previous endpoint stays in place.
A successful update deletes previous subscriptions. Apply the configured change in an appropriate change window after confirming the new destination. Check for the returned `serverPixel`, inspect `userErrors`, and verify delivery of test events at the intended EventBridge or Pub/Sub destination.
Sources
Frequently Asked Questions
Can I pin an older Admin API version to keep the old behavior?
The rule applies across all GraphQL Admin API versions without a deprecation period. Older versions require the same token mode, staff app access where applicable, and scopes.
Does the announcement also cover serverPixelCreate and serverPixelDelete?
This update applies to the two update mutations. Shopify says the create and delete mutations already perform the same staff app access check.