kulpa / google-api-python-client

Automatically exported from code.google.com/p/google-api-python-client
Other
0 stars 0 forks source link

Batch : deleting events not working #108

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using batch for deleting events doesn't seem to work. Only works if there is a 
unique deleting operation.

What works :

batch = BatchHttpRequest()
batch.add(service.events().delete(calendarId=calId, eventId=eventId1)) 

batch.execute()

What doesn't work :

batch = BatchHttpRequest()
batch.add(service.events().delete(calendarId=calId, eventId=eventId1)) 
batch.add(service.events().delete(calendarId=calId, eventId=eventId2))
...

batch.execute()

Original issue reported on code.google.com by pschi...@gmail.com on 24 Feb 2012 at 2:20

GoogleCodeExporter commented 9 years ago
Please supply a stack trace or error response message, thanks!

Original comment by jcgregorio@google.com on 24 Feb 2012 at 2:28

GoogleCodeExporter commented 9 years ago
There is no stack/exception trace, here is the response message :

response : <HttpError 503 "Ok">

I googled this error, and it seems to be a quota error. Which is weird, I'm 
still below the quota limit...

Original comment by pschi...@gmail.com on 24 Feb 2012 at 2:40