I'm using Google Calendar API v3 to work a one-way sync from another calendar system to a Google calendar, and wondering - how should I be treating deleted Google calendar events that are not deleted in the other calendar system?
The 'cancelled'/deleted Google calendar event I attempted to update contains the ICalUID value from an event in the other calendar system (where the event is not deleted). When I try to update/revive the 'cancelled' event I get a "403: Forbidden" response, and when I try to insert a new event using that ICalUID I receive a "duplicate" event error response.
Is there any way to revive the 'cancelled' event or clear its ICalUID? Or maybe a known gotchya hidden somewhere within this scenario that I missed?
I can re-create them using a different ICalUID, but I'm hoping someone else can offer some insight from their experience before I abandon the ICalUID. Thanks!
Based on the Events resource, you can't update a deleted Event. You can, however, update a cancelled Event. 'Events: update' will require the calendarId and eventId with the JSON object (updated status value) in the response body.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With