[502] Bad Gateway Error when trying to Create/Update a product

Hello,

We are (randomly) receiving a 502 Bad Gateway error when trying to create/update a product using GraphQL version 2022-01.

Looking in other cases it looks like it is a common problem, but we didn’t found any way to solve this.

Any idea/recommendation?

Just an observation, we did some tests by running the query on Shopify GraphiQL App, using the version 2022-04, and it looks like that if we add these props below, the query fails (BadGateway) and if we remove it works:

inventoryQuantities: {

availableQuantity: value to be field,

locationId: value to be field

}

Thank you.