We are running into an issue where we are getting a 500 error from Shopify's Order API but it turns out irrespective of that the order is actually getting created successfully on Shopify's end. On our end, due to the error, we retry creating that order and if the second time around it goes through successfully (which seems to happen most of the time) - we end up with duplicate orders. We could probably add some checks and balances in our integration for this which seems to be just unnecessary work given that I am. not sure why we get 500 in the first place if the orders is getting created anyways. Has someone ran into this? if so, how did you resolve it?
Can you provide an x-request-id from the response headers? and we can look into this further.