Unicode characters in service response
Summary:
Content (required):
In an OIC integration, I am invoking a rest service that has as a response a field with a unicode character (\u0000). Using postman it works correctly, but when executing the integration it shows the following error:
the service response frame is the following (the field that generates the error is document, if I omit that field from the response configuration I do not get an error):
{
"date":"2023-09-21",
"document":" ID: 1111222333444 \n ************0003 \n\u0000"
}
The response frame of the document field is more extensive, it actually returns with line breaks to print a voucher. For this reason, it is necessary to make the OIC accept these types of characters in a response.
Tagged:
0