Disova
Disova

Reputation: 23

How to release event id from Google calendar?

I have an event with a particular id (e.g. "17448") and I deleted it and then removed from a trash. The problem is I can't use the same event id again. I can't create event, update or delete.

I always getting "Error":

{
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "forbidden",
    "message": "Forbidden"
   }
  ],
  "code": 403,
  "message": "Forbidden"
 }
}

But still can use "get" method and I getting this:

{'end': {'date': '2000-01-02'},
 'etag': '"2980807593935000"',
 'iCalUID': '[email protected]',
 'id': '17448',
 'kind': 'calendar#event',
 'start': {'date': '2000-01-01'},
 'status': 'cancelled',
 'transparency': 'transparent',
 'updated': '2017-03-27T07:32:07.111Z'}

So, is a way to release the event id for reuse?

Upvotes: 1

Views: 580

Answers (1)

AL.
AL.

Reputation: 37768

There is no way to release a Calendar eventId.

The eventId is a unique identifier for each Calendar event and is expected to be kept that way in order to prevent collision (i.e. mix-ups) in records and/or logs.

Upvotes: 2

Related Questions