Fix Invalid URL to Google Calendar in Mountain Lion

If you are much annoyed, I believe you are if you landed this page by Googling, by tenths or even hundreds error messages in Console of 28/5/13 10:25:41.004 PM CalendarAgent[169]: AOSKit ERROR: (-) RAF: Invalid url -- you might take a minute to read this post.

###The Cause: Apple is the one to blame When we use System Preferences -> Mail, Contacts & Calendars to add our google accounts, and enable Calendar & Reminders Apple sets the CalDAV url to, but what Google API accepts is That is the reason the Invalid URL error happens. ###The Solution

  1. Disable Calendar & Reminders under System Preferences -> Mail, Contacts & Calendars;
  2. Open Calendar and add a account in Preferences -> Accounts: select Account Type to be CalDAV, input your Google USERNAME(without, and password; and Server Address as:

That’s it and the error should be gone! Please feel free to post any comments. :-)