Checkout simulation with a great quantity of the same sku receives a Logistics timeout
ID: 330775
No Fix
Published on 6/18/2024
•
Last update on 6/18/2024
Summary
We have an error in the Logistics service when trying to simulate a purchase with thousands of units of the same SKU. That error happens because the request to split the package takes too long.
The error detail in the API is: "The operation was canceled."
Simulation
- Try to make a Checkout Simulation or a simulation in the Shopping Cart with thousands of units of the same SKU (like 50k)
- Review the details in the response of the API, and you probably see an error when processing that request (timeout)
Workaround
We recommend increasing the carrier's package limits to accommodate the units in a single package. It would provide a faster request and would not return a timeout.