Search code examples
djangopython-3.xgoogle-calendar-api

Google Calendar API: writer access error when setting up events on someone's calendar


HttpError 403 when requesting https://www.googleapis.com/calendar/v3/calendars/some-domain.com/events?sendNotifications=true&alt=json returned "You need to have writer access to this calendar.">

Hi. I'm getting this error when I try to set a calendar event from my service account via the calendar api. Can someone help figure what it means?

Is it due to some access issues on end user's calendars? Or is it due to some limitation on my own service account?

Please help.


Solution

  • Solved it. It wasn't a code issue. Someone played around with a setting that controls who can access the client's calendar and create events in it.

    enter image description here