purelymail-issues icon indicating copy to clipboard operation
purelymail-issues copied to clipboard

500 error on caldav syncronization

Open jforseth210 opened this issue 1 year ago • 1 comments

I'm getting some 500 errors on some of my VTODO items. Running it through an iCalendar validator, I'm getting the following warning:

Blank line detected, specification does not address the use of blank lines [near line # 14]

Does the newline at the end of the description cause issues? If so, is it my client's fault for writing it like that or should purelymail parse this differently?

This is the offending item:

BEGIN:VCALENDAR
VERSION:2.0
PRODID:+//IDN tasks.org//android-130605//EN
BEGIN:VTODO
DTSTAMP:20240116T205633Z
UID:d3f1e2ef6ceb466b969e13d4e9f6b784@jaro
SEQUENCE:2
CREATED:20230811T030844Z
LAST-MODIFIED:20240116T205431Z
SUMMARY:REDACTED
DESCRIPTION:REDACTED\
\
Unique ID: REDACTED\

STATUS:COMPLETED
DUE;TZID=America/Denver:20230402T000501
COMPLETED:20230427T211003Z
PERCENT-COMPLETE:100
BEGIN:VALARM
TRIGGER;RELATED=START:PT0S
ACTION:DISPLAY
DESCRIPTION:Default Tasks.org description
END:VALARM
BEGIN:VALARM
TRIGGER;RELATED=START:P1D
ACTION:DISPLAY
DESCRIPTION:Default Tasks.org description
END:VALARM
END:VTODO
BEGIN:VTIMEZONE
TZID:America/REDACTED
LAST-MODIFIED:20221105T024526Z
BEGIN:DAYLIGHT
TZNAME:REDACTED
TZOFFSETFROM:-0000
TZOFFSETTO:-0000
DTSTART:20070311T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU
END:DAYLIGHT
BEGIN:STANDARD
TZNAME:MST
TZOFFSETFROM:-0000
TZOFFSETTO:-0000
DTSTART:20071104T020000
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU
END:STANDARD
END:VTIMEZONE
END:VCALENDAR

jforseth210 avatar Feb 03 '24 06:02 jforseth210