I’ve created a service account and enabled the Google Calendar API so that I can create and edit calendar events from my web app. I have also added the service account email to the calendar I wish to edit. But when adding the email, it does not give me the option to allow event editing:
I am the sole owner of this business account so I should have all admin abilities but I cannot see any way to enable that “Make changes to events” option. And as a result, here is the error I get from the Google API when trying to create an event in the calendar:
{
"error": {
"errors": [
{
"domain": "calendar",
"reason": "requiredAccessLevel",
"message": "You need to have writer access to this calendar."
}
],
"code": 403,
"message": "You need to have writer access to this calendar."
}
}
What could be the problem? How would I fix this so that I can create events using my service account?
