OIC Integration Error - Target REST endpoint response payload processing failed — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OIC Integration Error - Target REST endpoint response payload processing failed

Summary:

Hello Experts,

I’m facing an issue in an OIC integration while invoking a third-party API. The request is going through successfully on the third-party system side, and the response is in JSON format. However, in OIC I’m getting the below error:

<![CDATA[Target REST endpoint response payload processing failed.[[Fault Details :
<ns0:APIInvocationError xmlns:ns0="http://xmlns.oracle.com/cloud/generic/rest/fault/REST/CPI_endpoint"><ns0:type/><ns0:title/><ns0:detail/><ns0:errorCode/><ns0:errorDetails><ns0:type/><ns0:title>Non-http status code</ns0:title><ns0:errorCode>REST_RES_PLD_ERR</ns0:errorCode><ns0:errorPath>&lt;![CDATA[An error occurred while processing the response payload in the target REST endpoint.]]&gt;</ns0:errorPath><ns0:instance>&lt;![CDATA[Target REST endpoint response payload processing failed. -- java.lang.ClassCastException: class oracle.xml.parser.v2.XMLDocument cannot be cast to class java.io.InputStream (oracle.xml.parser.v2.XMLDocument is in unnamed module of loader 'app'; java.io.InputStream is in module java.base of loader 'bootstrap')]]&gt;</ns0:instance></ns0:errorDetails></ns0:APIInvocationError>]]]]>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!