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
Original issue reported on code.google.com by
mingyu....@g.softbank.co.jp
on 5 Nov 2013 at 9:30