Which contact is causing "Request contains an invalid argument" error?

Operating system and version : Windows 10.

The issue you are facing: I don’t know which contact is causing the problem.

Is this the first time you’ve seen this error? (N): N

Steps to replicate it:

  1. I’ve changed a contact, and also moved three contacts from one folder to another in Outlook.
  2. CalDav ran automatically
  3. I got an error (as title)

The start of my CalDav sync report:

<?xml version="1.0" encoding="utf-16"?>
<SynchronizationReport xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ProfileName>Google Contacts</ProfileName>
  <ProfileId>79fdfa6b-5ad6-45ed-98c9-70d776f60910</ProfileId>
  <StartTime>2024-11-04T12:01:21.8605344Z</StartTime>
  <LoadErrors />
  <EntitySynchronizationReports />
  <ExceptionThatLeadToAbortion>CalDavSynchronizer.DataAccess.WebDavClientException: Response status code does not indicate success: '400' ('Bad Request'). Message:
{
  "error": {
    "code": 400,
    "message": "Request contains an invalid argument.",
    "errors": [
      {
        "message": "Request contains an invalid argument.",
        "domain": "global",
        "reason": "badRequest"
      }
    ],
    "status": "INVALID_ARGUMENT"
  }
}

   at CalDavSynchronizer.DataAccess.HttpClientBasedClient.WebDavClient.&lt;EnsureSuccessStatusCode&gt;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.&lt;ExecuteWebDavRequest&gt;d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

I’d start with these 4 contacts, there is a high chance that it is one of them.

Not sure if that corresponds to the UID of the contact in the database (oc_cards/oc_cards_properties).

Belatedly… What happens is that it fails once or twice and then works without any errors being reported. Yes, I did check the four new contacts but there’s nothing unusual about them
I can’t see anywhere in the Outlook UI that enable me to find the UID of a contact (if that’s what the log is showing) and although I was a Windows/Outlook Developer in a previous life, I’ve been retired for several years now and I can no longer remember how you access fields directly from the database :slight_smile:
Thanks for replying anyway