va20ych
va20ych

Reputation: 21

Google Push Notifications for Calendar resources

I've successfully set up Google Calendar API push notifications and it's working fine for users email address.

  1. I create a notification channel for specific calendar
  2. I create/update/delete events in that calendar
  3. Google sends notifications to the webhook that I provided.

But, it doesn't work at all for room email addresses. I can't even create a notification channel (it crashes saying that email address is invalid). Is it anything that I missed or it's not supported? I couldn't find any specific notes about that here https://developers.google.com/calendar/api/guides/push

Upvotes: 2

Views: 451

Answers (1)

va20ych
va20ych

Reputation: 21

The issue has been resolved.

The reason for not being able to create a notification channel was that the service account didn't have permission to access the resource (room )calendar. As it turned out during the investigation, once DWD (domain-wide delegation) is turned on, it enables access to users' calendars but resources' calendars are not covered. After adding the following permission enter image description here

it started working as expected.

Upvotes: 0

Related Questions