Hello all, first post here and please forgive me if I do it wrong. 🙂
I'm making a call to a web service and I'm getting back a document that includes a DTD. All is good with that process. When I attempt "Read XML from file" however, the process fails with the following error:
Correlation Id: 25b29858-86f7-4d22-aa9e-c3e255b7d1e9
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.: Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: File C:\Users\<redacted> doesn't contain a valid XML document ---> System.Exception: 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. ---> System.Exception
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.Modules.XML.Actions.ReadXmlFromFile.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)
This fails on a local machine and in Azure. I have tried DNS related fixes that I've seen in related posts with no effect. I've tried saving the file as a text file, editing out the DTD reference, and that works. Any suggestions?