Hello

I'm using the batch request example in Java from the link below. It has 
worked fine for two weeks, but suddenly it doesn't and I haven't change 
anything in the past weeks.
https://developers.google.com/google-apps/spreadsheets/?hl=en#updating_multiple_cells_with_a_batch_request

The only difference from the example is the setHeader() before and after 
sending the request.

        service.setHeader("If-Match", "*");
        CellFeed batchResponse = service.batch(new 
URL(batchLink.getHref()), batchRequest);
        service.setHeader("If-Match", null);

I've also tried setting the ProtocolVersion to V1, V2 and V3 with and 
without the setHeaders surrounding the request (the version running in the 
past weeks was V3 with the surrounding headers).

I'm getting the following error:

com.google.gdata.client.batch.BatchInterruptedException: Batch Interrupted 
(some operations might have succeeded) : a response has already been sent 
for batch operation update id='R2C1'
at 
com.google.gdata.model.batch.BatchUtils.throwIfInterrupted(BatchUtils.java:256)
at com.google.gdata.client.Service.batch(Service.java:1459)
at com.google.gdata.client.GoogleService.batch(GoogleService.java:770)
at 
external.GoogleDriveService.insertDataEntries(GoogleDriveService.java:260)
at external.GoogleDriveService.populateDocument(GoogleDriveService.java:111)
at controllers.Application.getSourceSpreadsheet(Application.java:234)
at play.mvc.ActionInvoker.invokeWithContinuation(ActionInvoker.java:557)
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:508)
at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:484)
at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:479)
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:161)

Thanks in advance
/Jeppe

-- 
You received this message because you are subscribed to the Google Groups 
"Google Spreadsheets API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to