Hello,
We have an app that has a Fulfillment Service that works well for a couple years now.
Today, for 2 customers, a certain number of the complete action on the fulfillment resource fails. We use the REST API. However, completing the fulfillment manually via the Admin interface also fails, so this does not seem to be an API related issue.
For instance, a POST to https://<my customer>/admin/api/2020-01/orders/4265153233077/fulfillments/3773880303797/complete.json leads to a 422 error, without any additional information. All the fulfillments for which this error occurs are in the “pending” state, as expected.
On the Admin interface, when manually completing the fulfillment by clicking on the “Send fulfillment request” button, I have a red message: “An error occurred, please try again”. If I look at the console to know which request has been made, I have the following response:
{“data”:{“fulfillmentCreateV2”:{“fulfillment”:null,“userErrors”:[{“field”:[“fulfillment”],“message”:“Validation failed: Currency can’t be blank”,“__typename”:“UserError”}],“__typename”:“FulfillmentCreateV2Payload”}},“extensions”:{“cost”:{“requestedQueryCost”:10,“actualQueryCost”:10,“throttleStatus”:{“maximumAvailable”:10000.0,“currentlyAvailable”:9990,“restoreRate”:500.0}}}}
Is there really a problem with the Currency? What’s that about?
For the 2 customers I have this problem with, it only happened today on a few requests. Most of the requests have no problem and the fulfillments completed just fine, but the problem is that I have zero solution to complete the fulfillments, therefore the buyers are not aware that their orders have been shipped.