Cancel Invoice (Business REST Resource) request is not working as expected
Summary:
Cancel Invoice is not working as expected using ERP Adapter in OIC
Content (please ensure you mask any confidential information):
Hi Experts,
I am calling a Business REST Resources for Invoice cancellation using ERP Adapter from OIC, but it is throwing an error. Please help me with a work around.
Service Application: fscmRestAPP>invoices
Operation: cancelInvoice
Request Payload:-
{
"name": "cancelInvoice",
"parameters": [{
"InvoiceNumber": "Test1",
"BusinessUnit": "ABC",
"Supplier": "XY"
}]
}
Error showing as - 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. Try invoking the target service using cURL. It may also be that one of the intermediaries (proxy, LBR) could be returning this code.