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

Conflict Error #65

Closed shndowbots closed 9 months ago

shndowbots commented 11 months ago

Make Sure You Are On The Latest Main Branch Version Before Reporting A Bug!!!

Include the following information: Aug 7, 2023

Describe the bug Ran for the first time and gives me this error after syncing everything. It only synced 1 of my 2 calendars provided in the calendarIds file, and after syncing that it gave me this error. Thank you.

Screenshots image

Additional context First time run.

hk21702 commented 11 months ago

That looks like some kind of sync issue on the side of Notion where multiple things are being changed at the same time such that there are race conditions.

Just to make sure though, since you are using two calendars and are reporting that only 1 of the 2 calendars are syncing, first make sure that your calendar keys (What you name your calendar for the purposes of the script and notion database) in CALENDAR_IDS are unique.

After that try doing a full sync. The instructions on how to do so are in the wiki under the FAQ section. I'd try first doing a full sync without clearing your database, and if that doesn't work, clearing out the Notion database manually and trying a full sync again. More likely than not the issue is just due to some unlucky timing with the requests being sent to Notion resulting in a race condition and you just need to try again.

github-actions[bot] commented 10 months ago

This issue has not had any activity for an extended period of time and is thus automatically being marked as stale.

Author, you can help out by closing this issue if the problem no longer exists, or adding more information.

github-actions[bot] commented 9 months ago

This issue has been closed automatically because it needs more information and has not had recent activity.