cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CPI:XML to CSV:Unmarshalling XML error in SAP CPI

0 Kudos
721

I am trying to convert the below payload to CSV.But when converting to CSV in XMLtoCSV converter step it is failing in CPI with error:"Unmarshalling XML failed".

Root>

<Error>

<InterfaceName>test Interface</InterfaceName>

<InterfaceID>test_interface</InterfaceID>

<MessageProcessingID>tttttt</MessageProcessingID>

<JobParameters>

</JobParameters>

<RunDatewithtimestamp>20220910000708</RunDatewithtimestamp>

<Status>FAILED</Status>

<reason>Request Payload Parsing Failed for one of the reason: (1) Either the OData metadata content available in the server is outdated OR (2) The request payload seems to be incorrect. Error Details : Parsing exception for XML node <cust_field>, com.sap.gateway.core.ip.processor.exception.ODataProcessingException: </reason>

<AdditionalFailuredetails>

</AdditionalFailuredetails>

</Error>

</Root>

Could anyone please help me.

View Entire Topic
nshivaprasad5334
Participant
0 Kudos

Hi Shruthi,

In your xml payload there is <cust_field> in reason node (which is an invalid XML ).

Try to remove that <cust_field> from reason node it will work.

Thanks

Shiva