I have a similar issue and I follow what Jason Zhang suggested to
to call fieldValues.SetFieldRowNumbers on the multi-value field:
for example:
fieldValues.AppendValues("Product_Type", valueProductType);
fieldValues.SetFieldRowNumbers("Product_Type", Enumerable.Range(1, productDetails.Count).ToList());
fieldValues.AppendValues("Product_Qty", valuesProductQty);
fieldValues.SetFieldRowNumbers("Product_Qty", Enumerable.Range(1, productDetails.Count).ToList());
In my case, I want to add 2 field values within a group where 1 is a string and another one is an integer.
When I call SetFieldRowNumbers I also check the 2nd parameter for the array of row number have the matching size.
However, when I executed my code I had
Exception:Multistatus response. [9039]
The parameter is out of range or too long. [9020]
Another operation on which this operation depends failed. [9054]
Any idea what can be the cause of it?