Duplicate Inventory Transaction because of 504 Gateway Time-out response from SAAS
Hi,
We are trying to create a single transaction using the inventoryStagedTransaction REST API from OIC. After the request runs for 300 seconds, we receive a 504 error. Then, due to OIC's structure, the same operation is repeated four times in total. If it doesn't receive a response within 20 minutes, the process terminates. However, upon checking, we found that the single transaction occurred four times. Despite receiving a 504 error from SaaS, these requests were somehow stored somewhere, and all four occurred when the system was available.
If we are receiving a 504 error from the system, how can the transaction still occur? How can we stop OIC from re-transmitting the request before receiving the correct response? If OIC had received the error 10 times, would 10 transactions have been created?