SideokCalebYou / google-api-python-client

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

Error 410 is returned,and the target calendar is not deleted #311

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I want to delete the target calendar from Google server use the follow code. 
In result, the 410 is returned from the Google server,
and the target is not deleted.
why? and how can I solve this problem?
PS:It does not occur every time,and it is disorder.
 sometimes,If there are 10 target calender,maybe 1 or 2 target calender can not be deleted.
 sometimes,If there are 10 target calender,maybe all can be deleted.

Map<String, Calendar> Testservice = GCalUtil.createCalService(TestMailAddress);
try {
Testservice .events().delete(TestMailAddress, TestCalendarId).execute();
catch (HttpResponseException e) {
 println(e.getStatusCode())
}
TestMailAddress: the target Mail Address.
TestCalendarId: the target Calendar ID.

Original issue reported on code.google.com by mingyu....@g.softbank.co.jp on 5 Nov 2013 at 9:30