Recently after adding new events in Google calendar and try to fetch it from Google calendar API, I never get the new events list for the primary calendarId of my account.
Also I tried to fetch from developer console: https://developers.google.com/google-apps/calendar/v3/reference/events/list#try-it which gives the same empty list of items as response, even though the future events exists.
But I am able to fetch the events list of other calendar list. eg. Holidays, shared calendar from friends etc.
I also had the problem of events().list(calendarId=<calendar_id>, singleEvents=False)
not returning any events (using python API). I tested with a secondary calendar with one recurring event. Solved by adding parameter maxResults=9999
. It turned out that maxResults value 1413 or higher is needed to return the event. Weird, seems to be a bug.
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