(Reposting basically the same information as removed, but with a little less unecessary personal info and with a little better formatting.)
Hello!
I have what I think is the same problem with two calendars. When I disabled the default calendar in nextcloud and only tried to sync the extra, I suddenly got an error log. Perhaps it can help finding the issue? Here is the message:
— BEGIN DEBUG INFO —
Account name: […]
Authority: com.android.calendar
HTTP REQUEST:
Request{method=PUT, url=https://ecloud.global/remote.php/dav/calendars/username@e.email/gemensamma/86ac2c8-8993b9.ics, tags={}}
BEGIN:VCALENDAR
VERSION:2.0
PRODID:+//IDN e.foundation//Account Manager/2.0.5-ose ical4j/2.2.0
BEGIN:VEVENT
DTSTAMP:20200323T175530Z
UID:86ac2c8-8993b9
SUMMARY:Test
DTSTART;VALUE=DATE:20200319
DTEND;VALUE=DATE:20200320
STATUS:CONFIRMED
TRANSP:TRANSPARENT
BEGIN:VALARM
TRIGGER:-PT10M
ACTION:DISPLAY
DESCRIPTION:Test
END:VALARM
END:VEVENT
END:VCALENDAR
HTTP RESPONSE:
Response{protocol=h2, code=403, message=, url=https://ecloud.global/remote.php/dav/calendars/username@e.email/gemensamma/86ac2c8-8993b9.ics}
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d=“DAV:” xmlns:s=“http://sabredav.org/ns”>
<s:exception>Sabre\DAV\Exception\Forbidden</s:exception>
<s:message>Permission denied to create file (filename 86ac2c8-8993b9.ics)</s:message>
</d:error>
LOCAL RESOURCE:
LocalEvent=[eTag=null, fileName=86ac2c8-8993b9.ics, flags=0, weAreOrganizer=true, calendar=foundation.e.accountmanager.resource.LocalCalendar@7c49a3e, event=Event=[alarms=[BEGIN:VALARM
TRIGGER:-PT10M
ACTION:DISPLAY
DESCRIPTION:Test
END:VALARM
], attendees=[], classification=null, color=null, description=null, dtEnd=DTEND;VALUE=DATE:20200320, dtStart=DTSTART;VALUE=DATE:20200319, duration=null, exDates=[], exRule=null, exceptions=[], lastModified=null, location=null, opaque=false, organizer=null, rDates=[], rRule=null, recurrenceId=null, status=STATUS:CONFIRMED, summary=Test, unknownProperties=[], sequence=0, uid=86ac2c8-8993b9, shadow$ klass =class foundation.e.ical4android.Event, shadow$ monitor =0], id=1, shadow$ klass =class foundation.e.accountmanager.resource.LocalEvent, shadow$ monitor =0]
REMOTE RESOURCE:
[…]
EXCEPTION:
foundation.e.dav4android.exception.HttpException: HTTP 403
at foundation.e.dav4android.DavResource.checkStatus(DavResource.kt:416)
at foundation.e.dav4android.DavResource.checkStatus(DavResource.kt:392)
at foundation.e.dav4android.DavResource.put(DavResource.kt:284)
at foundation.e.accountmanager.syncadapter.SyncManager$uploadDirty$1$1.invoke(SyncManager.kt:327)
at foundation.e.accountmanager.syncadapter.SyncManager$uploadDirty$1$1.invoke(SyncManager.kt:59)
at foundation.e.accountmanager.syncadapter.SyncManager.useRemote(SyncManager.kt:781)
at foundation.e.accountmanager.syncadapter.SyncManager$uploadDirty$1.invoke(SyncManager.kt:314)
at foundation.e.accountmanager.syncadapter.SyncManager$uploadDirty$1.invoke(SyncManager.kt:59)
at foundation.e.accountmanager.syncadapter.SyncManager.useLocal(SyncManager.kt:767)
at foundation.e.accountmanager.syncadapter.SyncManager.uploadDirty(SyncManager.kt:305)
at foundation.e.accountmanager.syncadapter.SyncManager$performSync$1.invoke(SyncManager.kt:127)
at foundation.e.accountmanager.syncadapter.SyncManager$performSync$1.invoke(SyncManager.kt:59)
at foundation.e.accountmanager.syncadapter.SyncManager.unwrapExceptions(SyncManager.kt:807)
at foundation.e.accountmanager.syncadapter.SyncManager.performSync(SyncManager.kt:113)
at foundation.e.accountmanager.syncadapter.EeloCalendarsSyncAdapterService$CalendarsSyncAdapter.sync(EeloCalendarsSyncAdapterService.kt:87)
at foundation.e.accountmanager.syncadapter.SyncAdapterService$SyncAdapter.onPerformSync(SyncAdapterService.kt:83)
at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:272)
SOFTWARE INFORMATION
Package: foundation.e.accountmanager
Version: 2.0.5-ose (248) from 2 Oct 2019
Installed from: APK (directly)
JB Workaround installed: no
[…]
CONFIGURATION
Power saving disabled: no
android.permission.READ_CONTACTS permission: granted
android.permission.WRITE_CONTACTS permission: granted
android.permission.READ_CALENDAR permission: granted
android.permission.WRITE_CALENDAR permission: granted
org.dmfs.permission.READ_TASKS permission: granted
org.dmfs.permission.WRITE_TASKS permission: granted
System-wide synchronization: automatically
Account: […]
Address book sync. interval: 15 min
Calendar sync. interval: 2 min
OpenTasks sync. interval: 2 min
WiFi only: false
[CardDAV] Contact group method: GROUP_VCARDS
[CalDAV] Time range (past days): 90
[…]
Sync automatically: true
[…]
SYSTEM INFORMATION
Android version: 7.1.2 (lineage_herolte-userdebug 7.1.2 NJH47F 20200106 dev-keys)
Device: samsung SM-G930F (herolte)
— END DEBUG INFO —