cancel
Showing results for 
Search instead for 
Did you mean: 

Email Integration Scenario - Unicode Issue

azharshaikh
Active Contributor
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Harish
Active Contributor
0 Kudos

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

azharshaikh
Active Contributor
0 Kudos

Hi Harish,

Thanks for the inputs. Yes, I did check this link. We are not able to see any such char in Textpad / Notepad++. Moreover the same payload is working fine in Dev/QA (in the reference link the user was able to replicate this issue) & we do not get any Unicode error there.

Regards,

Azhar

azharshaikh
Active Contributor
0 Kudos

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