GNOME Bugzilla – Bug 740656
Can't add Google Calendar: 403 FORBIDDEN
Last modified: 2019-10-10 14:01:48 UTC
When the user attempts to add a Google Calendar to California, they're presented with this error message: Unable to retrieve calendar list: Authentication required: <HTML> <HEAD> <TITLE>Forbidden</TITLE> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> <H1>Forbidden</H1> <H2>Error 403</H2> </BODY> </HTML> The issue appears to be that libgdata doesn't support the GData Calendar API version 3 (bug #664353). California relies on libgdata for probing Google Calendar for the user's calendars and CalDAV endpoints. Once added to EDS, libgdata is not used for those calendars. Note that Evolution has the same issue (403 FORBIDDEN when attempting to list Google Calendars). It looks like the old versions of the Google Calendar GData API were discontinued on November 17, 2014, hence why this is only an issue now: http://googleappsupdates.blogspot.com/2014/06/calendar-gdata-api-google-calendar.html
Same problem for me. Using ubuntu 14.04 LTS and california v. 0.1.4. It is not possible to connect to google calendar.
I'm seeing this too. As a workaround, if you add a Google Calendar in Evolution then it will show up in California.
Are you able to add it with Evolution? When I try to add a Google Calendar in Evolution, I get the 403 error there as well.
I can only add a Google Calendar indirectly in Evolution, by choosing New -> Mail Acount and adding the corresponding Gmail account. When I do that, there's a checkbox that says something like "Also add calendar", which causes the calendar to be added as well. After that, the calendar is visible in California as well as in Evolution.
Right, you can add an email's default calendar that way, but you can't add other calendars (i.e. calendars which have been shared with the account, secondary calendars created for the account).
*** Bug 741515 has been marked as a duplicate of this bug. ***
The problem has been ticketed with EDS: bug #741922
I was able to add both Gmail and Google Apps calendars to California via Evolution. When I removed the Google Apps acct from Evolution the associated calendar was removed from California too. I assume both apps use the same local data store.
> I assume both apps use the same local data store. That's correct. Both use Evolution Data Server (EDS).
Well, I updated my EDS to the most recent available to openSUSE but still no luck. If it helps, I get this in debug: (california:7047): e-data-server-CRITICAL **: e_source_registry_ref_builtin_calendar: assertion 'source != NULL' failed (california:7047): e-data-server-CRITICAL **: e_source_registry_ref_default_calendar: assertion 'E_IS_SOURCE (source)' failed when I launch California with 2 calendars added in Evolution (one is the main Google calendar).
California is not under active development anymore and saw its last non-cosmetic code changes in March 2016: https://gitlab.gnome.org/Archive/california/commits/master Its codebase has been archived in https://gitlab.gnome.org/Archive/california/issues/1 Closing this report as WONTFIX as part of GNOME Housekeeping to reflect reality. Please feel free to reopen this ticket if anyone takes the responsibility for active development again. You may want to use `gnome-calendar`.