Google spreadsheets API C# missing resource version id on batch update

Viewed 1596

I'm trying to batch update the empty cells using the spreadsheets api C# v2.2.0.0 this way:

foreach (var csvline in csv)
{
          var csvlineParsed = csvline.Split(';');
          for (uint index = 0; index < csvlineParsed.Length; index++)
          {
                var cellEntry = new CellEntry(i, index + 1, csvlineParsed[index]);
                cellFeed.Insert(cellEntry);

                var cell = new CellEntry(i, index + 1);
                cell.Id = new AtomId(string.Format("{0}/{1}", cellFeed.Self, "R" + i + "C" + index + 1));
                cell.InputValue = csvlineParsed[index];
                cell.BatchData = new GDataBatchEntryData("R" + cell.Row + "C" + cell.Column, GDataBatchOperationType.update);
                batchRequest.Entries.Add(cell);*/

          }
          i++;
}

var batchResponse = (CellFeed) _service.Batch(batchRequest, new Uri(cellFeed.Batch));

but I have the "missing resource version id" error

4 Answers
Related