504 timeouts when creating an order

Our application has seen a number of 504 timeout errors when sending orders to your API.

It appears the orders are being created but the server times out before returning a response, which means our application treats it as a failed job and tries to send the order through again, resulting in duplicate orders.

Here are the timestamps of each occurrence this month. Most of them were on Jan 22.

Jan 23, 2021 2:51:15 PM UTC
Jan 22, 2021 8:42:26 AM UTC
Jan 22, 2021 8:41:56 AM UTC
Jan 22, 2021 8:41:21 AM UTC
Jan 22, 2021 8:40:51 AM UTC
Jan 22, 2021 8:29:19 AM UTC
Jan 22, 2021 8:28:48 AM UTC
Jan 22, 2021 8:28:17 AM UTC
Jan 22, 2021 8:15:34 AM UTC
Jan 14, 2021 8:00:11 AM UTC
Jan 7, 2021 3:23:28 PM UTC

Hi Alex

I have been having this issue I found it was a result of sending too many different products in the payload (I have some orders with 400 different products one) , sometimes it would create the order with a 504 error, some times it wouldn’t (I found 60 or below of different products seemed to be a safe bet, anything over 100 tends to give me a 500 error), I am currently attempting splitting the order and using the update endpoint but this is also failing at the moment as it just overwrites the items already on the order and replaces it with the new items I am trying to add.

Not really a helpful answer hopefully one of the people from Veeqo will come back to you.