I have an Export scenario that updates a Magento store’s quantity values every hour. I created a GI that will show me the current qty available to ship of all inventory that was invoiced in the last hour.
At the start of the day, it will fail with the error: “Index was out of range. Must be non-negative and less than the side of the collection. Parameter name: index.”
If I run it manually in Export by Scenario by selecting Prepare & Export, I get the same error.
If I check “Discard Previous Result” and select Prepare & Export, then it will run. And for the rest of the day, the process will run on the hourly schedule I have it on.
Until tomorrow morning when it will need me to run it manually again.
Any ideas on how to troubleshoot this?