hk21702 / YA-GCal-Notion-Sync-Script

Script to synchronize between a Notion database and Google Calendar both ways. Uses Google App Script.
GNU General Public License v3.0
139 stars 10 forks source link

Hi! I've been using this script and it worked fine for the past month. But recently I've been getting this same error message: #45

Closed hk21702 closed 1 year ago

hk21702 commented 1 year ago
    Hi! I've been using this script and it worked fine for the past month. But recently I've been getting this same error message:

Error: API call to calendar.events.list failed with error: Sync token is no longer valid, a full sync is required. syncFromGCal @ main.js.gs:183 main @ main.js.gs:38

I only have very rudimentary knowledge of coding, so I don't know how to perform this full sync. Hope you can assist!

Originally posted by @hikarizun in https://github.com/hk21702/YA-GCal-Notion-Sync-Script/issues/3#issuecomment-1364506998

hk21702 commented 1 year ago

First, update your version of the script https://github.com/hk21702/YA-GCal-Notion-Sync-Script/wiki/Updating-the-Script%F0%9F%94%B8 then follow these instructions from the wiki: https://github.com/hk21702/YA-GCal-Notion-Sync-Script/wiki/FAQ-&-Common-Errors%F0%9F%94%BA#triggering-a-full-sync

hikarizun commented 1 year ago

I ran the fullSync and got this error: TypeError: ignored_eIds.has is not a function parseEvents @ main.js.gs:212 syncFromGCal @ main.js.gs:194 fullSync @ main.js.gs:56

hk21702 commented 1 year ago

Seems to be a bug. Try again with the latest version I just pushed.

hikarizun commented 1 year ago

It's working fine now. Thank you!