The XML could not be parsed. The entity name must immediately follow the & in the entity reference.

0
I had the following error when calling a REST service in Mendix: The XML could not be parsed. The entity name must immediately follow the '&' in the entity reference.   I setup my XML schema, created my Import mapping and finally created a Microflow calling a REST (GET). Has anyone had this before and could provide some guidance?   Many thanks
asked
1 answers
0

It looks like the service is returning invalid XML. In XML, an ampersand is a reserved character and must be escaped, and this error says that the service did not do that correctly.

Can you run with the REST Publish log node set to Trace? That will show the response from the service.

answered