Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebDavClientException - Bad Request #435

Open
BrankoH opened this issue Nov 5, 2024 · 3 comments
Open

WebDavClientException - Bad Request #435

BrankoH opened this issue Nov 5, 2024 · 3 comments

Comments

@BrankoH
Copy link

BrankoH commented Nov 5, 2024

Synchronising Event

Google Calendar (b...@gmail.com) 0ee7d98c-9329-451f-abe5-73fa361bdde2 2024-11-04T15:19:05.0378494Z Unchanged: 180 , Added: 0 , Deleted 0 , Changed 2 Unchanged: 182 , Added: 0 , Deleted 0 , Changed 0 Create 0 , Update 0 , Delete 0 Create 0 , Update 2 , Delete 0 000000009630CD0808969C4B9F0F3170F7F63D5907009627917189EC1E4894A428F687A93E8400000000000000009627917189EC1E4894A428F687A93E84000000006F730000 /caldav/v2/bran...%40gmail.com/events/dn5reg2ukjo77j21tnt0qvtbao%40google.com.ics Stay at Hotel Scherer Stay at Hotel Scherer CalDavSynchronizer.DataAccess.WebDavClientException: Response status code does not indicate success: '400' ('Bad Request'). Message: <?xml version="1.0" encoding="UTF-8"?> <D:error xmlns:D="DAV:"/>

at CalDavSynchronizer.DataAccess.HttpClientBasedClient.WebDavClient.<EnsureSuccessStatusCode>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CalDavSynchronizer.DataAccess.HttpClientBasedClient.WebDavClient.<ExecuteWebDavRequest>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CalDavSynchronizer.DataAccess.HttpClientBasedClient.WebDavClient.<ExecuteWebDavRequestAndReturnResponseHeaders>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CalDavSynchronizer.DataAccess.CalDavDataAccess.<TryUpdateEntity>d__28.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CalDavSynchronizer.Implementation.CalDavRepository1.&lt;TryUpdate&gt;d__16.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at CalDavSynchronizer.Implementation.CalDavRepository1.<TryUpdate>d__16.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at GenSync.EntityRepositories.BatchEntityRepositoryAdapter`4.<PerformOperations>d__3.MoveNext()
UpdateInB




000000009630CD0808969C4B9F0F3170F7F63D5907009627917189EC1E4894A428F687A93E8400000000000000009627917189EC1E4894A428F687A93E84000000006F770000
/caldav/v2/b...r%40gmail.com/events/gjcsb4lbebl8359og995r7qukg%40google.com.ics
Stay at Hotel Central
Stay at Hotel Central
CalDavSynchronizer.DataAccess.WebDavClientException: Response status code does not indicate success: '400' ('Bad Request'). Message:
<?xml version="1.0" encoding="UTF-8"?>
<D:error xmlns:D="DAV:"/>

at CalDavSynchronizer.DataAccess.HttpClientBasedClient.WebDavClient.<EnsureSuccessStatusCode>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CalDavSynchronizer.DataAccess.HttpClientBasedClient.WebDavClient.<ExecuteWebDavRequest>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CalDavSynchronizer.DataAccess.HttpClientBasedClient.WebDavClient.<ExecuteWebDavRequestAndReturnResponseHeaders>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CalDavSynchronizer.DataAccess.CalDavDataAccess.<TryUpdateEntity>d__28.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CalDavSynchronizer.Implementation.CalDavRepository1.&lt;TryUpdate&gt;d__16.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at CalDavSynchronizer.Implementation.CalDavRepository1.<TryUpdate>d__16.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at GenSync.EntityRepositories.BatchEntityRepositoryAdapter`4.<PerformOperations>d__3.MoveNext()
UpdateInB


false
00:00:00.9238215

@wifey21-web
Copy link

@cachius
Copy link

cachius commented Nov 14, 2024

@BrankoH Could you please format the errors as code using triple backticks ``` ?

The monospace font will make it easier to read.

@brnbs
Copy link

brnbs commented Dec 6, 2024

I have the same issue; everything worked flawlessly before. I tried refreshing the authentication by pressing the "Test Settings" and "Do Autodiscovery" buttons, but it says "Connection test successful," and the sync error remains.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants