Inventory Items with all nil attributes

New Member
1 0 0

Hi -

I am using the ShopifyAPI ruby gem and I am querying the InventoryLevels. I am getting several results with seemingly "bad" inventory_item_ids. They seem invalid because:

1) Querying for one of the "bad" inventory_item itself returns an item with mostly nil attributes (namely cost and sku). See example below:






2. There are no ProductVariants with this inventory_item_id.


What can cause this? I can simply ignore these inventory_levels but I'd like to understand how they are getting created in the first place...