GraphQL Bulk Query for Metafields of ProductImages doesn't work anymore

Topic summary

A GraphQL bulk query for retrieving metafields from product images stopped working after August 20th, 2024.

What’s broken:

  • The query path product.edges.node.images.metafields no longer returns metafield data
  • Metafields for Products and ProductVariants continue to work normally
  • The API returns no error messages, making diagnosis difficult

Technical details:

  • The query successfully retrieves product IDs, image sources, alt text, and variant information
  • Only the metafields nested under product images fail to return data
  • The user has no alternative approach for accessing image metafields

Current status:
The issue remains unresolved with no responses or solutions provided. The user is seeking help understanding why this functionality broke and how to retrieve image metafields through an alternative method.

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

Hi,

I have this bulk query, which worked perfectly fine till August 20th 2024:

{
      products {
          edges {
            node {
              id
              images {
                edges {
                    node {
                        id
                        src
                        altText
                        metafields {
                            edges {
                                node {
                                    id
                                    key
                                    value
                                    type
                                    namespace
                                }
                            }
                        }
                    }
                }
              }
              variants {
                edges {
                    node {
                        id
                        sku
                        image {
                            id
                            src
                            altText
                        }
                        metafields {
                            edges {
                                node {
                                    id
                                    key
                                    value
                                    type
                                    namespace
                                }
                            }
                        }
                    }
                }
              }
            }
          }
      }
    }

product.edges.node.images.edges.node.metafields is not returned anymore.
The API is not returning any errors!

I have no idea why this is not working anymore and I have also no idea how to request the metafields with an alternative approach.
The metafields for Product or ProductVariant are still working.

Thanks for any hints!