Hey @Liam , I’m getting the same error with the following query:
mutation inventorySetOnHandQuantities($input: InventorySetOnHandQuantitiesInput!) {
inventorySetOnHandQuantities(input: $input) {
userErrors {
field
message
}
}
}
{
"input": {
"reason": "correction",
"setQuantities": [
{
"inventoryItemId": "gid://shopify/InventoryItem/42431172739133",
"locationId": "gid://shopify/Location/64617152573",
"quantity": 0
},
# 249 more times for different locations but with the same inventory item id
]
}
}