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

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!