Unexpected Error When Querying Warehouse Products

I’m having trouble querying warehouse products and purchase orders. Both queries used to work fine until 1.5-2 months ago. I’m using pagination and allowing all credits to refresh before making subsequent queries. Below is the query I am doing for products:

query warehouse_products {
warehouse_products(updated_from: “2020-11-27”) {
complexity
data(first: 20) {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
account_id
sku
warehouse_id
price
value
value_currency
on_hand
inventory_bin
inventory_overstock_bin
reserve_inventory
replenishment_level
reorder_amount
reorder_level
backorder
allocated
available
non_sellable_quantity
customs_value
created_at
updated_at
sell_ahead
active
}
}
}
}
}

The number of products I’m able to successfully pull varies greatly, usually between 300 and 800 different SKUs. The error I always get is “Unexpected Error,” which is quite vague, so I’m unsure how to go about resolving it.

Hi @achempak!
Do you happen to have the request_id for when you get that unexpected error?
Also, would including a updated_to work for you? That way you could fetch by a past date range instead of including results from today, which might change if an update is made between request and request.

Also, are you trying to see the inventory changes? or what type of changes are you expecting to see in the warehouse_product updates?

Thanks in advance!
Tom