[GH-ISSUE #433] caldav.wecom.work 403 error #884

Open
opened 2026-03-01 17:42:04 +03:00 by kerem · 1 comment
Owner

Originally created by @Giant-Li on GitHub (Sep 24, 2024).
Original GitHub issue: https://github.com/aluxnimm/outlookcaldavsynchronizer/issues/433

My work environment
PC with Win11-64
Office2024LTSC
Outlookcaldavsync4.4.1

I want to sync calendar of wecom(企业微信)to outlook with outlookcaldavsyn.
Help information says wecom support caldav, please refer: https://open.work.weixin.qq.com/help/wap/detail?docid=20223

Here's my profile
outlookcaldavsync-1
outlookcaldavsync-2
and I tried either webdav collection option or not, made no difference.

Thank you in advance!

Here's my issue
CalDavSynchronizer.DataAccess.WebDavClientException: Response status code does not indicate success: '403' ('Forbidden'). Message:

<D:multistatus xmlns:D="DAV:" >
<D:response>
<D:href>/calendar/1688852827272814/</D:href>
<D:status>HTTP/1.0 403 Forbidden</D:status>
<D:error><CC:propfind-finite-depth xmlns:CC="DAV:"/></D:error>
<D:responsedescription>request on collections with depth in header of "Infinity" is not allow</D:responsedescription>
</D:response>
</D:multistatus>

在 CalDavSynchronizer.DataAccess.HttpClientBasedClient.WebDavClient.d__10.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 CalDavSynchronizer.DataAccess.HttpClientBasedClient.WebDavClient.d__9.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 CalDavSynchronizer.DataAccess.HttpClientBasedClient.WebDavClient.d__7.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 CalDavSynchronizer.DataAccess.WebDavDataAccess.d__15.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 CalDavSynchronizer.Implementation.CalDavRepository1.<GetFullRepositoryState>d__21.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 GenSync.Synchronization.Synchronizer11.d__27.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 GenSync.Synchronization.ContextCreatingSynchronizerDecorator`7.d__3.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 CalDavSynchronizer.Scheduling.SynchronizationProfileRunner.d__22.MoveNext()

Originally created by @Giant-Li on GitHub (Sep 24, 2024). Original GitHub issue: https://github.com/aluxnimm/outlookcaldavsynchronizer/issues/433 **My work environment** PC with Win11-64 Office2024LTSC Outlookcaldavsync4.4.1 I want to sync calendar of wecom(企业微信)to outlook with outlookcaldavsyn. Help information says wecom support caldav, please refer: https://open.work.weixin.qq.com/help/wap/detail?docid=20223 **Here's my profile** ![outlookcaldavsync-1](https://github.com/user-attachments/assets/c7f33d0c-0bc2-4ce5-9c34-c7fa89aaef5c) ![outlookcaldavsync-2](https://github.com/user-attachments/assets/3e64f548-f242-4d49-9345-1a9621a1d489) and I tried either webdav collection option or not, made no difference. Thank you in advance! **Here's my issue** CalDavSynchronizer.DataAccess.WebDavClientException: Response status code does not indicate success: '403' ('Forbidden'). Message: <?xml version="1.0" encoding="utf-8" ?> <D:multistatus xmlns:D="DAV:" > <D:response> <D:href>/calendar/1688852827272814/</D:href> <D:status>HTTP/1.0 403 Forbidden</D:status> <D:error><CC:propfind-finite-depth xmlns:CC="DAV:"/></D:error> <D:responsedescription>request on collections with depth in header of "Infinity" is not allow</D:responsedescription> </D:response> </D:multistatus> 在 CalDavSynchronizer.DataAccess.HttpClientBasedClient.WebDavClient.<EnsureSuccessStatusCode>d__10.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 CalDavSynchronizer.DataAccess.HttpClientBasedClient.WebDavClient.<ExecuteWebDavRequest>d__9.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 CalDavSynchronizer.DataAccess.HttpClientBasedClient.WebDavClient.<ExecuteWebDavRequestAndReadResponse>d__7.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 CalDavSynchronizer.DataAccess.WebDavDataAccess.<CollectionSync>d__15.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 CalDavSynchronizer.Implementation.CalDavRepository`1.<GetFullRepositoryState>d__21.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 GenSync.Synchronization.Synchronizer`11.<Synchronize>d__27.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 GenSync.Synchronization.ContextCreatingSynchronizerDecorator`7.<Synchronize>d__3.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 CalDavSynchronizer.Scheduling.SynchronizationProfileRunner.<RunAndRescheduleNoThrow>d__22.MoveNext()
Author
Owner

@quanru commented on GitHub (Nov 11, 2024):

Is there a solution?

<!-- gh-comment-id:2467331552 --> @quanru commented on GitHub (Nov 11, 2024): Is there a solution?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/outlookcaldavsynchronizer#884
No description provided.