Incorrect Product count given by the shopify API

Any idea why the product count is incorrect when I am calling the API

Below returns 1601products

https://elegant-british-furniture.myshopify.com/admin/api/2021-07/products/count.json

But I have 2027 products and they are in active status.

Am I missing something very basic?

Thanks for your help.

Hi @adminelegant

Welcome here.

Could you provide some codes for analysis?

Thanks for looking into it.

Handle “zolatab” doesn’t come but “princoffmah” comes. Below are more example handles that are not coming in the api

zolatab
zolacoff
zolachwhi
zoekswhi
zoeksoak
zoedouwhi
zoedou
zircsin
zircnig
zircmirr
zircks
zircdres6
zircdou
zircche4
zirc4foot
zentabwhi
zentabnat
zanocomp
yorktabm
yorksma
yorkrou
yorknest
yorkmed

Ok found the real issue in case anyone has similar issue. The API is showing correct product count. There are some products loaded with invalid images (not sure how shopify let the upload complete with missing images). I will check scenarios where shopify upload product with missing images but for now this issue can be closed.