aluxnimm / outlookcaldavsynchronizer

Sync Outlook with Google, SOGo, Nextcloud or any other CalDAV/CardDAV server
GNU Affero General Public License v3.0
932 stars 100 forks source link

Sync stuck with "Both COUNT and UNTIL cannot be supplied together; they are mutually exclusive." -> error logging unclear #332

Closed khaliddermoumi closed 1 year ago

khaliddermoumi commented 3 years ago

Hi! I have observed calendar, which is stuck on sync with an error: "Both COUNT and UNTIL cannot be supplied together; they are mutually exclusive."

See: SynchronizationReport-2021-09-28.txt

I see 3 problems with this behaviour:

Right now I am guessing what happened here: I believe there is a data error in the remote calendar, and the synchronizer belches on this, but I am not sure what has happened, because the error is not logged in a really informative way.

aluxnimm commented 1 year ago

Actually you can click on the server id in the sync report to see which entry causes this and the error is clearly stated in the log together with the id of the remote element: /owncloud/remote.php/dav/calendars/vera/personal/46af470f-da62-4185-8f0d-156b28d30c98.ics

System.ArgumentException: Both COUNT and UNTIL cannot be supplied together; they are mutually exclusive. So you just need to fix/delete that entry and the error is gone.