Unable to create multiple calendar #334
-
Hi, not sure if this is a bug, so I'd post this here first. We have 9 .ics feed that I'm trying to set up the script for. I set up the script one using a single .ics, and everything ran great (thank you for creating this script and sharing it!). A calendar is created in GCal, and all the events show up and gets updated. After I got the first working, I added 8 more feed. However, when I run the script, Only 1 other calendar gets added to GCal. The rest doesn't get added. After some trial and errors, I go to GCal to manually add the calendar, and the site won't add me add more than 2 until I reload, after which I can manually add the rest. So, this makes me think the problem is on Google's end. I named the manually added calendars the same name as the ones in the script, but they don't sync. which did not surprise me. Maybe the mapping is based on more than the name. I looked at the Calendars individually. The one created by the script says "Created by GAS" and has a calendar ID this long: So I'm wondering:
Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Definitely! We just need to find out if it's on our side or on google's :)
No.
We are actually just matching names..
I have experienced that before, seems to be a temporary issue though. Do you by chance have more than 250 calendars in your account? |
Beta Was this translation helpful? Give feedback.
-
This turns out to be the same issue as #258. Please do the following changes in helpers.gs and try again to sync.
|
Beta Was this translation helpful? Give feedback.
-
Thank worked. Thank you so much! I'm keep an eye on it for the next little while and do some testing on updating events and what not. Really appreciate the help on this. |
Beta Was this translation helpful? Give feedback.
This turns out to be the same issue as #258.
The start of the event is defined as date & time, the end is date only.
Please do the following changes in helpers.gs and try again to sync.
if(icalEvent.startDate.isDate && icalEvent.endDate.isDate){ //All-day event