Replies: 2 comments 1 reply
-
@derekantrican Any thoughts here? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have setup the script to sync 2 calendars as such:
var sourceCalendars = [ // The ics/ical urls that you want to get events from along with their target calendars (list a new row for each mapping of ICS url to Google Calendar)
// For instance: ["https://p24-calendars.icloud.com/holidays/us_en.ics", "US Holidays"]
// Or with colors following mapping https://developers.google.com/apps-script/reference/calendar/event-color,
// for instance: ["https://p24-calendars.icloud.com/holidays/us_en.ics", "US Holidays", "11"]
["https://na02.patientnow.com/Services/SyncSchedule.aspx?sync=5367DC13-9556-4C8A-B66C-B0DEBCE95229.ics", "SJ's PatientNOW"],
["https://na02.patientnow.com/Services/SyncSchedule.aspx?sync=B0589A56-48E1-424D-8DCC-4C7EFFBB1FA0.ics","Kat's PatientNOW"]
];
What is happening is that the first calendar (GREEN) is syncing fine, but the second calendar (PURPLE) keeps doing this:
![image](https://private-user-images.githubusercontent.com/185413390/407828288-21bf0590-687b-4d5e-9eb1-ea2c2a31d04d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzODk2NjIsIm5iZiI6MTczOTM4OTM2MiwicGF0aCI6Ii8xODU0MTMzOTAvNDA3ODI4Mjg4LTIxYmYwNTkwLTY4N2ItNGQ1ZS05ZWIxLWVhMmMyYTMxZDA0ZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQxOTQyNDJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hZjJmZjgyM2FkZTg2YTU4N2Q3NDE2NjU0ZDM0MTAxOGMwZTU4NmUxYjU4ZGQ5NGE3NThlY2ZlMjFkMGQ1NjBiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.nfw5z6_ZR7PX7jBsGm66LIrO5MnOdbfyxRCFrSUzYuc)
The execution log is showing error as such: (when I delete the calendar completely, and let the software recreate - it starts working for a little bit of time, but then it does the duplication again).
Jan 28, 2025, 11:53:02 AM Error API call to calendar.events.insert failed with error: Backend Error
at callWithBackoff(Helpers:1290:9)
at processEvent(Helpers:624:20)
at unknown function
at startSync(Code:218:15)
Beta Was this translation helpful? Give feedback.
All reactions