Skip to content
Advertisement

Google Calendar API – sendUPdate not working to

Using Google App Script to create a Calendar event and having problems with the “sendUpdates” parameter to send email notifications on the creation of the calendar event.

According to the documentation here: events.insert.

enter image description here

The “sendUpdates” parameter has to be included, so my code looks something like this:

JavaScript

However, upon running the above function, I don’t see any email notification about the Calendar Event being created.

Has anyone faced similar issues and have found a resolution?

Thanks.

Advertisement

Answer

You need to add the sendUpdates parameter as an optional argument (sendNotifications is not necessary) of the Calendar.Events.insert, not inside the body request:

JavaScript
Documentation
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement