I spend the last 4 day trying to fix an issue that thankfully Laurent from your Support team was able to help solve. (00397752)
SiteSync was inexplicably failing after many months of normal operation. I kept seeing this error: "Incorrect Basic Authentication formatting."
This is Found inside ClaimsManager.cs > tryParseBasicAuth Method.
if (strArray.Length != 2)
throw new HttpException(400, "Incorrect Basic Authentication formatting.");
The reason was that we had recently changed the password and SiteFinity had generated a password with a colon in it. For example : ABC:123 So the (base64 decoded) username and password string became: thunder.admin:ABC:123
Therefore if (strArray.Length != 2) will falsely return an error.
I suggest you change this to if (strArray.Length > 0)