Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
Create Multiple Supplier using REST adapter fails — 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

Create Multiple Supplier using REST adapter fails

Accepted answer
14
Views
12
Comments
edited Jun 19, 2021 5:18AM in Integration 12 comments

Content

Hello Expert - I am using OIC to create multiple suppliers ( 2 suppliers payload )  In ERP using REST adapter. It fails.

 

But, if I send only one supplier payload then one supplier gets created and I can see that supplier in ERP.

Question - why is creation of mutiple ( 2 suppliers ) failing with code 400   Bad request error ?  See screen attached. Is something wrong in the mapper ?

 

My payload for multiple suppliers is as below and it fails as REST adapter invoke with error 

 fscmRestApi/resources/11.13.18.05/suppliers returned a response status of 400 Bad Request]]&gt;</ns2:errorPath><ns2:instance>&lt;![CDATA[You must provide a value for the Supplier attribute..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. 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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