ORABPEL-15236 Translation Failure. Failed to translate XML to JSON. Cannot write end element
(Doc ID 2764608.1)
Last updated on APRIL 18, 2024
Applies to:
Oracle Integration-OIC - Version 18.2.5 and laterInformation in this document applies to any platform.
Symptoms
After mapping the payload, invoking a REST endpoint fails with :-
<![CDATA[An error occurred while processing the request payload in the target REST endpoint.]]><
![CDATA[Target REST endpoint request payload processing failed.[[ORABPEL-15236Translation Failure.Failed to translate XML to JSON. Cannot write end element:
XXXXX The data does not conform to the NXSD schema. Please correct the problem.]]]]>
Fault Details : <ns2:APIInvocationError xmlns:ns2="http://xmlns.oracle.com/cloud/generic/rest/fault/REST/myOperation">
<ns2:type/>
<ns2:title/>
<ns2:detail/>
<ns2:errorCode/>
<ns2:errorDetails>
<ns2:type/>
<ns2:title>Non-http status code</ns2:title>
<ns2:errorCode>REST_REQ_PLD_ERR</ns2:errorCode>
<ns2:errorPath<![CDATA[An error occurred while processing the request payload in the target REST endpoint.]]>
</ns2:errorPath>
<ns2:instance<![CDATA[Target REST endpoint request payload processing failed.[[ORABPEL-15236Translation Failure.Failed to translate XML to JSON. Cannot write end element: XXXXXThe data does not conform to the NXSD schema. Please correct the problem.]]]]></ns2:instance>
</ns2:errorDetails>
</ns2:APIInvocationError>:Application Errorexecute'<br>
![CDATA[Target REST endpoint request payload processing failed.[[ORABPEL-15236Translation Failure.Failed to translate XML to JSON. Cannot write end element:
XXXXX The data does not conform to the NXSD schema. Please correct the problem.]]]]>
Fault Details : <ns2:APIInvocationError xmlns:ns2="http://xmlns.oracle.com/cloud/generic/rest/fault/REST/myOperation">
<ns2:type/>
<ns2:title/>
<ns2:detail/>
<ns2:errorCode/>
<ns2:errorDetails>
<ns2:type/>
<ns2:title>Non-http status code</ns2:title>
<ns2:errorCode>REST_REQ_PLD_ERR</ns2:errorCode>
<ns2:errorPath<![CDATA[An error occurred while processing the request payload in the target REST endpoint.]]>
</ns2:errorPath>
<ns2:instance<![CDATA[Target REST endpoint request payload processing failed.[[ORABPEL-15236Translation Failure.Failed to translate XML to JSON. Cannot write end element: XXXXXThe data does not conform to the NXSD schema. Please correct the problem.]]]]></ns2:instance>
</ns2:errorDetails>
</ns2:APIInvocationError>:Application Errorexecute'<br>
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |