akarri2001 / Notion-and-Google-Calendar-2-Way-Sync

2 Way Sync Between Notion Database and Google Calendar
GNU General Public License v3.0
354 stars 51 forks source link

HttpError 400, Bad Request when trying to obtain events info #27

Open joshuaspear opened 1 year ago

joshuaspear commented 1 year ago

Hi,

My code successfully pushes events from Notion to gcal but not the other way around. The code receives a bad request at line 1247 i.e., x = service.events().list(calendarId = calendarDictionary[el], maxResults = 2000, timeMin = googleQuery() ).execute()

I have checked that the calendar id is correct. Please could anyone help? Thanks