# Inventory Snapshot returning bad data

**URL:** <https://community.shiphero.com/t/inventory-snapshot-returning-bad-data/2073>\
**Category:** GraphQL API\
**Created:** [July 4, 2022, 11:52pm UTC](https://community.shiphero.com/t/inventory-snapshot-returning-bad-data/2073 "2022-07-04T23:52:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![david](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/david/32/22_2.png) [@david](https://community.shiphero.com/u/david)\
**Post date:** [July 4, 2022, 11:52pm UTC](https://community.shiphero.com/t/inventory-snapshot-returning-bad-data/2073/1 "2022-07-04T23:52:49Z")

</div>

We noticed some odd data in snapshot `62c365b617cc8575a10a0fa4`.

In partcular, notice that the `on_hand` quantity is 2, but `available` is 7. If we pull the SKU through a regular query, we receive 7 for both on hand and available.

Any idea what’s going on?

Snapshot results:

```auto
{'sku': 'B1996-6', 'account_id': '...', 'vendors': {'VmVuZG9yOjQ0NTQx': {'vendor_id': 'VmVuZG9yOjQ0NTQx', 'vendor_name': 'Edition Peters', 'vendor_sku': 'SJB19966'}}, 'warehouse_products': {'V2FyZWhvdXNlOjMzMDU=': {'warehouse_id': 'V2FyZWhvdXNlOjMzMDU=', 'on_hand': 2, 'allocated': 0, 'backorder': 0, 'available': 7, 'item_bins': {'QmluOjI2ODMwNw==': {'location_id': 'QmluOjI2ODMwNw==', 'location_name': '01', 'lot_id': '', 'lot_name': '', 'expiration_date': '', 'quantity': 1}, 'QmluOjI2ODMwOA==': {'location_id': 'QmluOjI2ODMwOA==', 'location_name': '02', 'lot_id': '', 'lot_name': '', 'expiration_date': '', 'quantity': 1}}}}}

```

---

<div class="post-metadata">

**Author:** ![tomasfd](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@tomasfd](https://community.shiphero.com/u/tomasfd)\
**Post date:** [July 5, 2022, 1:54pm UTC](https://community.shiphero.com/t/inventory-snapshot-returning-bad-data/2073/2 "2022-07-05T13:54:29Z")

</div>

Hello @david!

I’m already looking into this.

If you find more examples please share them so we might be able to establish a pattern.

Have a nice day!  
TomasFD

---

<div class="post-metadata">

**Author:** ![tomasfd](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@tomasfd](https://community.shiphero.com/u/tomasfd)\
**Post date:** [July 6, 2022, 8:16pm UTC](https://community.shiphero.com/t/inventory-snapshot-returning-bad-data/2073/3 "2022-07-06T20:16:21Z")

</div>

Hello @david!

For some reason, though you have a Static Slotting account, you have some bins created in your account. In those bins, there is stock of that SKU. The snapshot is prioritizing that information instead of the information of the actual bin the SKU has configured.

I will send this case to our engineers for them to look into.

Have a nice day!  
TomasFD
