Gollgle service account delegation domain

Hi everyone,

i need help on the delegation domain for use attendees on api google calendar. This is the same problem than @lynixguru from 2021.

This is the post :

" I have completed google calendar integration to my app. I can create, update and delete events via custom API calls with my service account. But, when I try to add attendees, I have the following errors.

There was an issue setting up your call.

Raw response for the API
Status code 403
{
“error”: {
“errors”: [
{
“domain”: “calendar”,
“reason”: “forbiddenForServiceAccounts”,
“message”: “Service accounts cannot invite attendees without Domain-Wide Delegation of Authority.”
}
],
“code”: 403,
“message”: “Service accounts cannot invite attendees without Domain-Wide Delegation of Authority.”
}
}

My service account is set up for Domain-Wide Delegation. I could not figure out what causes the errors.

Please help me.

Thank you so much for your attention and participation."

@lynixguru do you solve this ?

Thanks,

I’m having the same issue here.
I could not find where I can “impersonate” the calendar owner when accessing google api.
As per other forum I read, it looks like we have to give access to gmail scope in domain-wide delegation when using the atteendees array.
@lynixguru were you able to solve it?

@Dimo solved my issue.
I just used the google service account plugin and followed the instructions here
https://thenicholasrbarrowcompany.gitbook.io/bubble-plugins/google-service-account/google-service-account-plugin/google-api-request-bearer-token
Very easy to set up.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.