The "Name" parameter in OIC ERP adapter for invoice validation
Summary:
I am going to call Oracle Cloud ERP's validateInvoice API from an OIC integration. I tried out Oracle Cloud ERP's API directly by Postman first to validate my parameter values and it worked well.
And here is my OIC Oracle Cloud ERP adapter setup:
But in OIC map node, there is a parameter "Name" which is not required in ERP's API.
If I leave it unmapped, the node returns error like below:
"The request content does not represent an action or it has an invalid structure..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."