Reputation: 21
I've successfully set up Google Calendar API push notifications and it's working fine for users email address.
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
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
it started working as expected.
Upvotes: 0