Google Calendar API event update always return 404 “not found” error

$service->events->get expects the calendar id and event id as parameters

It is important to double-check that both parameters are correct

  • If 'mygooglecalendarid' is not your primary calendar, then you are trying to get the event from one calendar and update it into a different one – this will give you a 404 error (bad request).
  • If the eventid is not correct, this will also lead to a 404 error. The latter can be verified by using the Try This API feature for Events:get
  • Possible ways to retrieve the correct event id are either listing events or retrieve the calendar.google.com/calendar/r/eventedit/... url and build the event id through decoding.

Leave a Comment