I'm trying to delete an event from one of my Google calendars using the Java API. They code looks like:
calendarService.events().delete( calendarId , eventId ).execute();
When I do so, I get the error:
com.google.api.client.googleapis.json.GoogleJsonResponseException: 410 Gone
DELETE https://www.googleapis.com/calendar/v3/calendars/[email protected]/events/jm1gamo1cj3dm68bidsaufffdg
{
"code" : 410,
"errors" : [ {
"domain" : "global",
"message" : "Resource has been deleted",
"reason" : "deleted"
} ],
"message" : "Resource has been deleted"
}
I can't figure out what the message is telling me.
Is it saying the event wasn't found? If so, the wording seems odd - why wouldn't it say "not found".
Or, is it saying it was deleted previously where the event is marked as deleted (a logical deletion) but still remains in the system (thus it knows it was previously deleted) possibly queued for a physical deletion?
question from:
https://stackoverflow.com/questions/65896050/what-is-the-meaning-of-google-calendar-api-delete-410-error 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…