{"action":"created","issue":{"url":"https://api.github.com/repos/bitfireAT/davdroid/issues/554","labels_url":"https://api.github.com/repos/bitfireAT/davdroid/issues/554/labels{/name}","comments_url":"https://api.github.com/repos/bitfireAT/davdroid/issues/554/comments","events_url":"https://api.github.com/repos/bitfireAT/davdroid/issues/554/events","html_url":"https://github.com/bitfireAT/davdroid/issues/554","id":88793895,"number":554,"title":"Error 415 while syncing via Caldav","user":{"login":"TheDoctorII","id":5493696,"avatar_url":"https://avatars.githubusercontent.com/u/5493696?v=3","gravatar_id":"","url":"https://api.github.com/users/TheDoctorII","html_url":"https://github.com/TheDoctorII","followers_url":"https://api.github.com/users/TheDoctorII/followers","following_url":"https://api.github.com/users/TheDoctorII/following{/other_user}","gists_url":"https://api.github.com/users/TheDoctorII/gists{/gist_id}","starred_url":"https://api.github.com/users/TheDoctorII/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheDoctorII/subscriptions","organizations_url":"https://api.github.com/users/TheDoctorII/orgs","repos_url":"https://api.github.com/users/TheDoctorII/repos","events_url":"https://api.github.com/users/TheDoctorII/events{/privacy}","received_events_url":"https://api.github.com/users/TheDoctorII/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bitfireAT/davdroid/labels/3rd-party%20issue","name":"3rd-party issue","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-16T17:47:22Z","updated_at":"2015-06-19T16:36:37Z","closed_at":"2015-06-19T16:36:37Z","body":"Hi,\r\n\r\nI'm getting a 415 error code while trying to sync my caldav calendar with my android 4.2 which I did not have before (using the same calendar, hosted on Owncloud, and also syncing by davdroid).\r\n\r\nI had to change my certificate recently, but apart from that, there has been no other changes (client side or server side).\r\n\r\nI fetched the log :\r\n\r\n```\r\n E/davdroid.DavSyncAdapter( 3380): Hard HTTP error 415\r\nE/davdroid.DavSyncAdapter( 3380): at.bitfire.davdroid.webdav.HttpException: 415 Unsupported Media Type\r\nE/davdroid.DavSyncAdapter( 3380): \tat at.bitfire.davdroid.webdav.WebDavResource.checkResponse(WebDavResource.java:419)\r\nE/davdroid.DavSyncAdapter( 3380): \tat at.bitfire.davdroid.webdav.WebDavResource.checkResponse(WebDavResource.java:393)\r\nE/davdroid.DavSyncAdapter( 3380): \tat at.bitfire.davdroid.webdav.WebDavResource.put(WebDavResource.java:370)\r\nE/davdroid.DavSyncAdapter( 3380): \tat at.bitfire.davdroid.resource.RemoteCollection.add(RemoteCollection.java:155)\r\nE/davdroid.DavSyncAdapter( 3380): \tat at.bitfire.davdroid.syncadapter.SyncManager.pushNew(SyncManager.java:143)\r\nE/davdroid.DavSyncAdapter( 3380): \tat at.bitfire.davdroid.syncadapter.SyncManager.synchronize(SyncManager.java:49)\r\nE/davdroid.DavSyncAdapter( 3380): \tat at.bitfire.davdroid.syncadapter.DavSyncAdapter.onPerformSync(DavSyncAdapter.java:146)\r\nE/davdroid.DavSyncAdapter( 3380): \tat android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:254)\r\nI/davdroid.DavSyncAdapter( 3380): Sync complete for com.android.calendar\r\n```\r\n\r\nSo, if you could help me, that'd be great :)\r\n\r\nBest regards,\r\nTD\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bitfireAT/davdroid/issues/comments/113568125","html_url":"https://github.com/bitfireAT/davdroid/issues/554#issuecomment-113568125","issue_url":"https://api.github.com/repos/bitfireAT/davdroid/issues/554","id":113568125,"user":{"login":"rfc2822","id":156167,"avatar_url":"https://avatars.githubusercontent.com/u/156167?v=3","gravatar_id":"","url":"https://api.github.com/users/rfc2822","html_url":"https://github.com/rfc2822","followers_url":"https://api.github.com/users/rfc2822/followers","following_url":"https://api.github.com/users/rfc2822/following{/other_user}","gists_url":"https://api.github.com/users/rfc2822/gists{/gist_id}","starred_url":"https://api.github.com/users/rfc2822/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfc2822/subscriptions","organizations_url":"https://api.github.com/users/rfc2822/orgs","repos_url":"https://api.github.com/users/rfc2822/repos","events_url":"https://api.github.com/users/rfc2822/events{/privacy}","received_events_url":"https://api.github.com/users/rfc2822/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T16:36:37Z","updated_at":"2015-06-19T16:36:37Z","body":"OK, so I'll close this issue now as it works for you."}}