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

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

ValueError("unconverted data remains: %s" and HttpError 404 when requesting https://www.googleapis.com/calendar/v3/calendars #19

Open miroslavTkachenko opened 2 years ago

miroslavTkachenko commented 2 years ago

I receive following errors: 1)File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/_strptime.py", line 352, in _strptime raise ValueError("unconverted data remains: %s" % ValueError: unconverted data remains: T13:00:00.000-04:00

2) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/googleapiclient/http.py", line 935, in execute raise HttpError(resp, content, uri=self.uri) googleapiclient.errors.HttpError: <HttpError 404 when requesting https://www.googleapis.com/calendar/v3/calendars/3cq0v2l8n197dmrie8l7vhjlj0%40group.calendar.google.com/events/3p10s2o3lst5mhtfkv3v23mvt4/move?destination=njgl69md8r5ckbspstljs3bqug%40group.calendar.google.com&alt=json returned "Not Found". Details: "[{'domain': 'global', 'reason': 'notFound', 'message': 'Not Found'}]">

Can anybody help?

Jahswaygo commented 1 year ago

im having a similar issue

Odradek77 commented 10 months ago

The code worked after adding more authorizations in the GCal API that were related to modifying the Calendar and view events. I didn't add all, just the ones that made sense to me.

Also the calendars didn't sync until I modified the "Multiple Calendar" Section, removed the example calendar info and added a calendar of my own, and turned the second calendar info into a comment, just to keep it there in case I need it in the future.

Hope this helps.