Uploading a VTODO from Vikunja to a standard CalDAV server (Nextcloud/SabreDAV) fails with 415 Unsupported Media Type #650

Closed
opened 2025-11-01 21:01:08 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @petercarter on GitHub (Sep 30, 2025).

Description

Steps to reproduce the issue.

1 Create a task in Vukunja
2 GET the item via CalDAV: GET https:///dav/projects/1/.ics
3 The .ics includes METHOD:PUBLISH
4. Importing the ics produces the following server response - <s:exception>Sabre\DAV\Exception\UnsupportedMediaType</s:exception>
<s:message>Validation error in iCalendar: A calendar object on a CalDAV server MUST NOT have a METHOD property.</s:message>
5 Environment - Vikunja API v1.0.0-rc2; vdirsyncer 0.19.2, Nextcloud server (SabreDAV).

Vikunja Version

1.0.0-rc2

Browser and version

No response

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

No response

Originally created by @petercarter on GitHub (Sep 30, 2025). ### Description Steps to reproduce the issue. 1 Create a task in Vukunja 2 GET the item via CalDAV: GET https://<vikunja>/dav/projects/1/<uid>.ics 3 The .ics includes METHOD:PUBLISH 4. Importing the ics produces the following server response - <s:exception>Sabre\DAV\Exception\UnsupportedMediaType</s:exception> <s:message>Validation error in iCalendar: A calendar object on a CalDAV server MUST NOT have a METHOD property.</s:message> 5 Environment - Vikunja API v1.0.0-rc2; vdirsyncer 0.19.2, Nextcloud server (SabreDAV). ### Vikunja Version 1.0.0-rc2 ### Browser and version _No response_ ### Can you reproduce the bug on the Vikunja demo site? No ### Screenshots _No response_
GiteaMirror added the area/caldav label 2025-11-01 21:01:08 -05:00
Author
Owner

@kolaente commented on GitHub (Sep 30, 2025):

Fixed in https://github.com/go-vikunja/vikunja/pull/1576, please check with the next unstable build (should be ready for deployment in ~30min, also on try).

@kolaente commented on GitHub (Sep 30, 2025): Fixed in https://github.com/go-vikunja/vikunja/pull/1576, please check with the next unstable build (should be ready for deployment in ~30min, also on [try](https://try.vikunja.io)).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#650