GraphQL query "publications"

Topic summary

A developer is managing products through a custom app using Shopify’s GraphQL API and wants to control which products are published to the Google & YouTube sales channel.

Current Progress:

  • Successfully identified how to retrieve the sales channel ID through the publications query
  • The query would return the ID in the response

Issue Encountered:

  • Receiving an access denied error: “Access denied for field publications. Required access scopes: read_publications”
  • The custom app has the correct access scopes configured, specifically including read_publications

Status: The issue remains unresolved despite having the necessary permissions in place.

Summarized with AI on November 7. AI used: claude-sonnet-4-5-20250929.

Ik beheer de producten via een custom app die gebruik maakt van de GraphQL API om te communiceren met Shopify. Ik zou echter via deze app willen bepalen welke producten gepublished worden op het sales channel van Google & Youtube en welke niet. Om dit te doen heb ik om te starten het ID van dit sales channel. Na wat opzoekwerk ben ik er achter gekomen dat ik deze ID kan verkrijgen door de query publications uit te voeren en uit het antwoord de ID te halen.

Hiervoor heeft de app de juiste access scopes nodig, namelijk read_publications. Deze access scope is toegewezen maar toch krijg ik steeds de volgende error message terug: “Access denied for publications field. Required access: read_publications access scope.”. Hoe los ik dit op?