Forum Discussion

mysticode's avatar
mysticode
Regular Visitor
4 years ago

Microsoft's Logic Apps having error accepting custom connector data

I have created a custom connector to connect to a SOAP XML API, and I am using the XML to Rest tool to create a full custom connector.

 

One of my API methods return a value that contains CDATA formatting, and when my Logic App is using the custom connector and returning this data, it stops at the CDATA and says "BadRequest. Http request failed: the content was not a valid JSON.". 


Swagger editor in the custom connector has the property of this item as "type: string", but Logic Apps debugging comes up with the following error:

 

Parse error on line 1:

<value><![CDATA[{"an

^

Expecting 'STRING', 'NUMBER',

 

 

Any help is appreciated!

No RepliesBe the first to reply