googleworkspace / googleworkspace/apps-script-samples
apps-script-samples/solutions/automations/vacation-calendar/ throws error on events that are part of an event series
@jpoehnelt is already working on this.
Since Feb 13, 2023.
- Dominant language
- JavaScript
- Stars
- 5.2k
- Forks
- 2k
- PR merge metrics
- No merged PRs in 30d
Description
Summary
I use the script provided here (slightly adapted) to import events from one calendar to another. This works mostly perfectly fine, thank you! But in some cases I get the following error message:
Error attempting to import event: GoogleJsonResponseException: API call to calendar.events.import failed with error: Invalid iCalUID value. Skipping.
My guess is that this happens for events that are part of an event series.
Expected Behavior
The events that are part of the events should be imported. Even if the original event is not in the list.
Actual Behavior
The error mentioned above is thrown.
Steps to Reproduce the Problem
- Setup the project as described here
- In the personal calender of a group member add an event series containing at least one of the respective keywords
- Run the skript
Thanks for your help or for fixing the issue!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.