A bug of articles tags

Facing a bug on articles tags using GraphQL Admin API 2024-10

general-gql-troubles

In admin-graphql/2024-10(GraphQL Admin API), I query for articles tags,but I found that the tags of articles are always empty array! but in Storefront API and REST Admin API, It works! Tags field has tags value in array.

Why? is it a bug? I’m very sad.

query {
  articles(first: 50) {
    edges {
      node {
        id
        tags  # This value is always an empty array in the GraphQL Admin API
      }
    }
  }
}


Your query seems to work fine for me.

Edit: to be clear api_version variable is set to 2024-10

Thank you for your reply. but I noticed that some of articles tags have value in array, some of tags haven’t.

I have set all articles tags a couple of tag value on more than 20 articles, can you test it as I said? Thank you very much.

1 Like

This needs to be a higher priority. Yes it works for some articles, but not all.

@curzey This needs to be looked into further, this is seemingly sporadic. Grabbing 250 blog posts I have roughly 40 that come back with tags of the 190+ that actually have tags. And the ones that do come back with tags, may or may not include all of the tags that the article was actually tagged with.

Using the REST Admin API I get back all tags just like @lijian_zh