Error while Invoking Sales Order REST API from OIC
Summary
Error while Invoking Sales Order REST API from OICContent
Hi Experts,
I get the below error while invoking REST API from OIC, but the same payload(JSON) works from POST MAN.
Error message is - : Fault Details : /n <ns2:APIInvocationError xmlns:ns2="http://xmlns.oracle.com/cloud/generic/rest/fault/REST/C"><ns2:type/><ns2:title/><ns2:detail/><ns2:errorCode/><ns2:errorDetails><ns2:type>http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1</ns2:type><ns2:title>Bad Request</ns2:title><ns2:errorCode>400</ns2:errorCode><ns2:errorPath><![CDATA[POST https://hostname:port/fscmRestApi/resources/11.13.18.05/salesOrdersForOrderHub returned a response status of 400 Bad Request]]></ns2:errorPath><ns2:instance><![CDATA[Unable to parse the provided payload.A 400 Bad Request Error indicates that the target service is unable (or refuses) to process the request sent by the client (Oracle Integration Cloud), due to an issue that is perceived by the server to be a client problem. You can trace the cURL representation of the request sent to the target service from the Oracle Integration Cloud server logs. Try invoking the target service using cURL. It may also be that one of the intermediaries (proxy, LBR) could be returning this code. ]]></ns2:instance></ns2:errorDetails></ns2:APIInvocationError> /n :Application