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

Handling Null value in the mapping

edited Sep 27, 2019 8:22AM in Integration 12 comments

Content

Hi,

In my integration, I got the Null value as response in one of my source as shown below. I used this field in my mapper to map to target.

{
    "x_total_deposit": 1000,
    "x_avail_deposit": null,
    "x_return_status": "S"
}

I got the Translation error when I invoke the OIC API, since null value is mapped to end response field. 

{
  "type" : "10.5.3",
  "title" : "exception occurred while translating the response into the accepted media type.",
  "detail" : "oracle.cloud.connector.api.CloudInvocationException: ORABPEL-15236\n\n",
  "o:errorCode" : "TRANSLATION-ERROR-01",
  "o:errorDetails" : [ {
    "type" : "NA",
    "instance" : "NA",
    "title" : "NA",
    "o:errorPath" : "NA",
    "o:errorCode" : "NA"
  } ]
}
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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