Payout posting error: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
This article explains to Webgility Desktop users about the “Payout posting error: Index was out of range” message that occurs in Webgility Desktop while posting a Shopify Payout to QuickBooks. The error typically appears when the related credit memo already exists in QuickBooks, causing a conflict during the posting process. It indicates that Webgility is attempting to reference a duplicate credit memo entry, which prevents the payout from posting successfully.
Error Message:
Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

Cause of the issue:
This issue typically arises when posting credit memo into Quickbooks in order to post related Shopify Payout. This error indicates that the credit memo you are trying to post already exists in your Quickbooks.
Steps To Resolve:
- In QuickBooks, verify if there’s any Existing Credit Memo related to the order number you’re getting in the Error Prompt.
- Delete the existing Credit Memo from QuickBooks and re-try posting the Shopify Payout Report.