When calling a web api using HttpWebRequest (codeunit 1297), I get this error:
"For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method."
The content type is set to application/xml and the response from this API only returns this:
This question has been asked before a few years back without any response. The same error in NAV2009 resulted in a hotfix.
We are getting this error on NAV2017 (10.0.0.21440)