Hello -
I am trying to query warehouse products and when sending my request I am receiving a 22 error. Any chance someone here can help me diagnose?
Query:
query {
warehouse_products {
data(first: 1) {
edges {
node {
id
legacy_id
account_id
warehouse_id
price
value
on_hand
reserve_inventory
allocated
available
created_at
updated_at
}
}
}
}
}
Result:
{
“errors”: [
{
“message”: “Unexpected Error”,
“operation”: “warehouse_products”,
“field”: “data”,
“request_id”: “5e2840334189d00919bd7956”,
“code”: 22
}
],
“data”: {
“warehouse_products”: {
“data”: null
}
}
}
Thank you!
rubix3