Hi ,
We are using IBM API Connect 2018 in our environment. We are seeing some issues in PROD environment related to XML parse errors.
The xml field causing this issue is initially inserted(in a json message into our DB).This DB insert has inserted some special characters and is causing XML parse errors.
The json element is of type string with double quotes embedded in it.For example
"
testField":"Theraband "BLUE" Resistance Band ,1 x metre "
As per my understanding this is not a valid json string and should not be allowed. However looks like this was processed by API Connect and inserted into DB by subsequent IIB flows.
Trying to understand why this is working in PROD. The same message were rejected when I was trying out test API on my postman .
{
"httpCode": "400",
"httpMessage": "Bad Request",
"moreInformation": "The body of the request, which was expected to be JSON, was invalid, and could not be decoded. The object syntax was invalid."
}
Thanks,
Ashish Thakur
------------------------------
Ashish Thakur
------------------------------