Ubuntu – Problem with adding google calendars in Evolution – “Forbidden”

14.04evolutiongoogle-calendarunity

I'm trying to set up my Google calendars on Evolution. When I add my gmail account it correctly imports the main calendar. However, when I try to add additional calendars I run into problems.

If I do New –> Calendar –> Google, enter my username and password, and then try to retrieve the list of calendars I get this raw html shown:

Authentication required: <HTML>
<HEAD>
<TITLE>Fobidden</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Forbidden</H1>
<H2>Error 403</H2>
</BODY>
</HTML>

If I try to add it via New –> Calendar –> On the web, and use the XML link I get a message:

Error loading calendar 'Unnamed'
Unable to connect to 'Unnamed': Cannot open calendar: Forbidden

Does anyone have any ideas how to fix this?

Best Answer

This is what you should do:

  • First remove or disable UOA integration.

  • And use caldav method instead of Google(Or right click on primary calendar & select properties).

  • In the url field it should be something like:

    https://www.google.com/calendar/dav/YOURUSERNAME@gmail.com/events.

  • Use your full user name for both username & email. Then click on find calendars. Enter your password.

  • Select the desired calendar & click apply. It will appear in evolution.

  • Repeat above steps for other calendars.

DONE!


Another way to sync google calendar with caldav & UOA is to use syncevolution.