Graphql admin api

Topic summary

A user reports a pagination bug in the GraphQL Admin API when querying product types and product tags.

Issue Details:

  • The pageInfo.hasNextPage field consistently returns false
  • However, increasing the first parameter reveals additional nodes exist beyond what was initially returned

Impact:

  • This prevents proper pagination implementation, as the API incorrectly signals no more data is available
  • Developers cannot reliably determine when to fetch additional pages of results

Status: The issue remains unresolved with no responses or solutions provided yet.

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

Product type and product tags are always have “false” in pageInfo - hasNextPage, but if I increase the “first” parameter I can get more nodes.

query ShopProductTagsQuery($first: Int!) {
        shop {
          productTags(first: $first) {
            edges {
              cursor
              node
            }
            pageInfo {
              hasNextPage
              endCursor
            }
          }
        }
    }