{"action":"closed","issue":{"url":"https://api.github.com/repos/pimutils/vdirsyncer/issues/416","repository_url":"https://api.github.com/repos/pimutils/vdirsyncer","labels_url":"https://api.github.com/repos/pimutils/vdirsyncer/issues/416/labels{/name}","comments_url":"https://api.github.com/repos/pimutils/vdirsyncer/issues/416/comments","events_url":"https://api.github.com/repos/pimutils/vdirsyncer/issues/416/events","html_url":"https://github.com/pimutils/vdirsyncer/issues/416","id":146774229,"number":416,"title":"Google error: 405 Method not allowed for url","user":{"login":"IronWolfMC","id":7587654,"avatar_url":"https://avatars.githubusercontent.com/u/7587654?v=3","gravatar_id":"","url":"https://api.github.com/users/IronWolfMC","html_url":"https://github.com/IronWolfMC","followers_url":"https://api.github.com/users/IronWolfMC/followers","following_url":"https://api.github.com/users/IronWolfMC/following{/other_user}","gists_url":"https://api.github.com/users/IronWolfMC/gists{/gist_id}","starred_url":"https://api.github.com/users/IronWolfMC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IronWolfMC/subscriptions","organizations_url":"https://api.github.com/users/IronWolfMC/orgs","repos_url":"https://api.github.com/users/IronWolfMC/repos","events_url":"https://api.github.com/users/IronWolfMC/events{/privacy}","received_events_url":"https://api.github.com/users/IronWolfMC/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-04-07T23:52:05Z","updated_at":"2016-04-08T21:02:25Z","closed_at":"2016-04-08T21:02:25Z","body":"vdirsyncer version: 0.9.4.dev35+ng777eb35\r\nPython: 3.4.3\r\nOS: Ubuntu 14.04 Server (Docker)\r\n\r\nGoogle returns a 405 Client Error (Method Not Allowed for url: https://apidata.googleusercontent.com/caldav/v2/) when attempting to synchronize with a Google calendar. Both the Google Calendar API and the Caldav API are enabled.\r\n\r\nConfig:\r\n```\r\n[general]\r\nstatus_path = ~/.config/vdirsyncer/status/\r\n\r\n[pair my_calendars]\r\na = my_cal\r\nb = my_gmail\r\ncollections = null\r\n\r\n[storage my_cal]\r\ntype = caldav\r\nurl = http://my.owncloud.server/cloud/remote.php/caldav/calendars/USERNAME/personal\r\nusername = USERNAME\r\npassword = ****************\r\n\r\n[storage my_gmail]\r\ntype = google_calendar\r\ntoken_file = ~/.google-token\r\nclient_id = ************************************************.apps.googleusercontent.com\r\nclient_secret = ********************\r\n```\r\n\r\nError: (Gist: https://gist.github.com/IronWolfMC/654a22cc583d09322b5d6d183a72371c)\r\n```\r\nroot@bbeb76ec35a4:~# vdirsyncer sync\r\nSyncing my_calendars\r\nwarning: Skipping '/caldav/v2/', etag property is missing.\r\nUnhandled exception occured for my_calendars.\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.4/dist-packages/vdirsyncer-0.9.4.dev35+ng777eb35-py3.4.egg/vdirsyncer/cli/tasks.py\", line 66, in sync_collection\r\n    force_delete=force_delete\r\n  File \"/usr/local/lib/python3.4/dist-packages/vdirsyncer-0.9.4.dev35+ng777eb35-py3.4.egg/vdirsyncer/sync.py\", line 216, in sync\r\n    b_info.prepare_idents()\r\n  File \"/usr/local/lib/python3.4/dist-packages/vdirsyncer-0.9.4.dev35+ng777eb35-py3.4.egg/vdirsyncer/sync.py\", line 124, in prepare_idents\r\n    if prefetch else ()):\r\n  File \"/usr/local/lib/python3.4/dist-packages/vdirsyncer-0.9.4.dev35+ng777eb35-py3.4.egg/vdirsyncer/storage/dav.py\", line 423, in get_multi\r\n    headers=self.session.get_default_headers()\r\n  File \"/usr/local/lib/python3.4/dist-packages/vdirsyncer-0.9.4.dev35+ng777eb35-py3.4.egg/vdirsyncer/storage/dav.py\", line 328, in request\r\n    return utils.http.request(method, url, session=self._session, **more)\r\n  File \"/usr/local/lib/python3.4/dist-packages/vdirsyncer-0.9.4.dev35+ng777eb35-py3.4.egg/vdirsyncer/utils/http.py\", line 74, in request\r\n    r.raise_for_status()\r\n  File \"/usr/local/lib/python3.4/dist-packages/requests/models.py\", line 840, in raise_for_status\r\n    raise HTTPError(http_error_msg, response=self)\r\nrequests.exceptions.HTTPError: 405 Client Error: Method Not Allowed for url: https://apidata.googleusercontent.com/caldav/v2/\r\nerror: 1 out of 2 tasks failed.\r\n```"}}