sync-engine icon indicating copy to clipboard operation
sync-engine copied to clipboard

Deleted recurring events still return on the api

Open KartikTalwar opened this issue 10 years ago • 2 comments

Hello,

I created a recurring event in September (via google calendar) to repeat every TTh and then deleted it last week. The deletion was for all following events, so there was ~2months of recurrence. However, when making the call on the /events endpoint, the deleted event still shows up on Tuesdays and Thursdays (vs gcal). I have multiple events in the calendar that were deleted this way and they are all returned in the api response.

Here is the event response from the api (using Arrow for convenience)

{'account_id': '<>',
 'busy': True,
 'calendar_id': None,
 'description': None,
 'id': '4hqss7jq2z1qp9v4guinkd1uw_20151117T193000Z',
 'location': 'RCH',
 'master_event_id': '<>',
 'object': 'event',
 'owner': 'Kartik Talwar',
 'participants': [],
 'read_only': True,
 'status': 'confirmed',
 'title': 'SCI 267',
 'when': {'end_time': <Arrow [2015-11-17T21:00:00+00:00]>,
          'object': 'timespan',
          'start_time': <Arrow [2015-11-17T19:30:00+00:00]>}}

KartikTalwar avatar Nov 18 '15 21:11 KartikTalwar

Hi Kartik,

Are you expanding recurring events here?

Karim

khamidou avatar Nov 30 '15 21:11 khamidou

Hey @khamidou, yes expand_recurring is set to True

KartikTalwar avatar Nov 30 '15 21:11 KartikTalwar