Home
Find the answer to your question
Why is the .NET SDK throwing exception "Client found response content type of 'text/html; charset=iso-8859-1', but expected 'text/xml'"?
Summary
If the SDK encounters an response whose type is not text/xml, then it throws that exception. The best way to find out what is causing the error is to turn on logging and see what is actually sent and received.
If you are already using the correct URL, and you are still seeing this problem, please refer to the guidelines set forth in this knowledge base article:
Version Info
The code example above was based on the versions specified below:
API Schema Version | 967 |
.NET SDK Version | .NET SDK v549.0 full release |