Services Plugins FAQs

Need Help on adding attendees in google calendar event

Hi Mates,

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.

Hello, @kaiumuddin156. Thanks for reaching out. :slightly_smiling_face:
Please accept my apologies for the late reply.

Can you please tell me if you have checked this page and if you have contacted Google Support directly to consultants about the issue you have?
https://developers.google.com/identity/protocols/oauth2/service-account#delegatingauthority

Unfortunately, this error is not reproducing on our side, so we presume the root cause might be in your setup. Any information that can help us reproduce and investigate your case will help us much. :slightly_smiling_face:

Regards,