I am implementing the C# SDK, and I am running into an error with the LogOnAsync function. My (copied from example) code:
// Create a Service instance
var service = new Service(Scheme.Https, "[my server]", 8000);
// Log in
await service.LogOnAsync("user", "pass");
The program throws this error @ LogOnAsync:
{"'doctype' is an unexpected token. The expected token is '<!--' or '<[CDATA['. Line 1, position 3."}
As I understand it, this XML error can be thrown the there's no "doctype" (or XML at all), or sometimes if "doctype" isn't capitalized within the XML.
I will not be able to change the XML on the server side. Is there a way to disable the validation strictly within the SDK?
Thanks
... View more