Skip to Content

Email Integration Scenario - Unicode Issue

Hi All,

We have Email to File Scenario. PI is connected to Outlook server using Sender Mail Channel using POP3. We are able to parse most of the emails.

However we are getting Unicode Error randomly for few of the emails. (PIMON error screenshot is attached for reference):

Error: com.sap.aii.utilxi.misc.api.BaseRuntimeException; An invalid XML character (Unicode: 0xb) was found in the element content of the document

On opening the payload we do not find any such Unicode char in it & also when we test the same payload (Using Test Message in PIMON) in Dev/QA its working perfectly fine. Any idea why we are getting this Unicode error & steps to resolve it.

Note: Since the user is sending these emails we do not have control over their Sending Mail Server and can't change anything from Source side.

Regards,
Azhar

Unicode_error.jpg (169.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Jun 01, 2015 at 06:29 AM

    Hi Azhar,

    Did you verified the source message using any text editor (Notepad++ or Text pad)? some char is not printable so it is difficult to identified.

    refer the below discussion

    An invalid XML character (Unicode: 0x1d) was fo... | SCN

    regards,

    Harish

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      We have changed the Sender Mail Channel Configuration. Initially we were using Mail Package option, now we are no more using Mail package option.

      With this we get the message in PI in non-XML format and we do not see any Unicode errors now.

      Regards,

      Azhar