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

Error while Invoking Sales Order REST API from OIC

edited Oct 3, 2020 2:17PM in Integration 5 comments

Summary

Error while Invoking Sales Order REST API from OIC

Content

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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