This seems to have just started a few hours ago with no change in our requests from what I can tell. Requests to add lines to orders are failing after a long request to commit the change.
To replicate:
begin order edit
mutation beginEdit ($id: ID!) {
orderEditBegin(id: $id) {
calculatedOrder {
id
}
}
}
that works and recorded the CalculatedOrder gid
add variant:
mutation addVariantToOrder($id: ID!, $quantity: Int!, $variantId: ID!) {
orderEditAddVariant(id: $id, variantId: $variantId, quantity: $quantity) {
calculatedOrder {
id
addedLineItems(first: 3) {
edges {
node {
id
quantity
}
}
}
}
userErrors {
field
message
}
}
}
that works as expected and shows the added line item
commit order edit:
mutation commitEdit($id: ID!) {
orderEditCommit(id: $id, notifyCustomer: false) {
order {
id
}
userErrors {
field
message
}
}
}
That request takes about 20 seconds and then always returns this error:
{
"data": {
"orderEditCommit": {
"order": null,
"userErrors": [
{
"field": [
"id"
],
"message": "Could not save the order edit."
}
]
}
},
"extensions": {
"cost": {
"requestedQueryCost": 10,
"actualQueryCost": 10,
"throttleStatus": {
"maximumAvailable": 1000.0,
"currentlyAvailable": 990,
"restoreRate": 50.0
}
}
}
}
Example x-request-id:
fc0170d8-81c9-4d67-8732-e2b0125882cd
This is impacting a lot of merchants right now