Using storefront api to retrieve products, the returned results have some empty products

VincentNguyen
New Member
1 0 0

 Hi,
when i using storefront api to retrieve products, the returned results have some empty products.
Although the productIDs are correct and the products are available in my online store.

For example

{
  nodes (ids: ["Z2lkOi8vc2hvcGlmeS9Qcm9kdWN0LzY3MDYzMDIzNTM1NjQ=",
"Z2lkOi8vc2hvcGlmeS9Qcm9kdWN0LzY3MDYxMjgwNjA1NzI="
"Z2lkOi8vc2hvcGlmeS9Qcm9kdWN0LzY2MDY0NjM2NjQyODQ="]) {
    ...on Product {
      id,
      title
    }
  }
}
Response is :
{
    "data": {
        "nodes": [
            null,
            null,
            {
                "title""Yale YBF Spring Balancers",
                "id""Z2lkOi8vc2hvcGlmeS9Qcm9kdWN0LzY2MDY0NjM2NjQyODQ="
            }
        ]
    }
}
Has anyone encountered this error yet?
Thank you

 

0 Likes