Get all product attributes via API not returning all attributes sometimes Lightspeed eCom
I read this API documentation (https://developers.lightspeedhq.com/ecom/endpoints/productattribute/#get-all-product-attributes) and wrote a script for it to get all the product attributes for each product. But sometimes it does not return all the product attributes. For example if I make the call. It gives me 5 product attributes while the product has 6 attributes in that case. But sometimes a product has 9 attributes and it returns 9 attributes so sometimes it returns all the attributes and sometimes some attributes are missing. Someone has had this problem too?