You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've updated to OwnCloud 9.1.4 and faced problems when trying to fetch CalDAV events via the find_events() method. The OwnCloud-Server sends a 400 (Bad Request) response with the following body:
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:sabredav-version>3.0.9</s:sabredav-version>
<s:exception>Sabre\DAV\Exception\BadRequest</s:exception>
<s:message>A calendar-query REPORT on a calendar with a Depth: 0 is undefined. Set Depth to 1</s:message>
</d:error>
I fixed this by adding the necessary "Depth" HTTP request header in
I've updated to OwnCloud 9.1.4 and faced problems when trying to fetch CalDAV events via the find_events() method. The OwnCloud-Server sends a 400 (Bad Request) response with the following body:
I fixed this by adding the necessary "Depth" HTTP request header in
lib/twisted-caldav/client.rb, line 67:
Maybe you could add this extra header to your code as well - maybe this helps others who run into this problem.
The text was updated successfully, but these errors were encountered: