1

Caldav error in decoding data

I was trying to sync my calendar from my email service provider Posteo.de with OneCalendar. However, I get the following error message below. I get the same error when I am trying to sync my calendar on my iPhone. (I changed a few details in the error message where my user ID was shown.)

Could the reason be that there is something wrong with events that I imported from my old Google Calendar into my current Posteo Calendar?

Thank you in advance!

Caldav error in decoding data

Dav.Client.DavException: Caldav error in decoding data ---> System.Exception: Error parsing datetime string 
   at CalDav.iCalendar.CalendarDateTime..ctor(String, XNameValueCollection) + 0x5a2
   at CalDav.iCalendar.CalendarDateTimes..ctor(String, XNameValueCollection) + 0xd5
   at CalDav.iCalendar.Event.Deserialize(TextReader, Serializer) + 0x524
   at CalDav.iCalendar.Calendar.Deserialize(TextReader, Serializer) + 0x26e
   at CalDav.iCalendar.CalendarCollection.Deserialize(TextReader, Serializer) + 0x7b
   at CalDav.iCalendar.Serializer.Deserialize[T](TextReader) + 0x4c
   at Dav.Client.CalDav.CalDavServerCalendar.<GetAllEventContent>d__29.MoveNext() + 0x570

   --- End of inner exception stack trace ---
   at Dav.Client.CalDav.CalDavServerCalendar.<GetAllEventContent>d__29.MoveNext() + 0x907
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at CalendarApp.CalDavBaseProvider.CalDavBaseAccount`1.<GetAllEventsData>d__14.MoveNext() + 0x10a
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at CalendarApp.CalDavBaseProvider.CalDavBaseAccount`1.<SyncReceiveCalendarFromProvider>d__13.MoveNext() + 0xec4
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
   at CalendarApp.ProviderBase.AccountProviderBase`9.<SyncReceiveCalendar>d__99.MoveNext() + 0x21b

ObjectData: <d:response xmlns:d="DAV:">
  <d:href>/calendars/myname/default/01bquibcrfjvao2tvj45pib57k%40google.com.ics</d:href>
  <d:propstat>
    <d:prop>
      <cal:calendar-data xmlns:cal="urn:ietf:params:xml:ns:caldav">BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Posteo Webmail//NONSGML Calendar//EN
X-WR-Timezone: Europe/London
BEGIN:VEVENT
DTSTART:20190529T190000Z
DTEND:20190529T200000Z
DTSTAMP:20210711T083318Z
SEQUENCE:1625992398
SUMMARY:I censored this event summary
UID:myuid@google.com
EXDATE:
RECURRENCE-ID:20190305T154500Z
END:VEVENT
END:VCALENDAR</cal:calendar-data>
      <d:getetag>"d6af906492816a4d67e39c126d0c74fa"</d:getetag>
    </d:prop>
    <d:status>HTTP/1.1 200 OK</d:status>
  </d:propstat>
</d:response>

Inner exception: System.Exception: Error parsing datetime string 
   at CalDav.iCalendar.CalendarDateTime..ctor(String, XNameValueCollection) + 0x5a2
   at CalDav.iCalendar.CalendarDateTimes..ctor(String, XNameValueCollection) + 0xd5
   at CalDav.iCalendar.Event.Deserialize(TextReader, Serializer) + 0x524
   at CalDav.iCalendar.Calendar.Deserialize(TextReader, Serializer) + 0x26e
   at CalDav.iCalendar.CalendarCollection.Deserialize(TextReader, Serializer) + 0x7b
   at CalDav.iCalendar.Serializer.Deserialize[T](TextReader) + 0x4c
   at Dav.Client.CalDav.CalDavServerCalendar.<GetAllEventContent>d__29.MoveNext() + 0x570

2 replies

U

I've the same problem. Can't log into my posteo.de account :(

+ The Mac App also crashes, when adding a calendar.

D
2

I received the same message. How do I correct it or delete it from my screen?

M

Hi Dan, have you found a solution yet?