Error: 400 response from Oracle Rest API- Unable to parse payload
Error:
Adapter: BizTalk WCF web HTTP adapter
Process flow: Sending a json message via post methd
I was getting a 400 response from Oracle API with an error stating that unable to parse the payload.
Root cause:
There was an issue with the payload sent to the API. Line items were sent as an object instead of an array of objects
Incorrect payload:
Correct payload:
Fix
Set Max occurs to unbounded for Lineitems root node
Comments
Post a Comment