cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid byte 2 of 2-byte UTF-8 sequence.

former_member200339
Participant
0 Kudos

Dear All,

I am getting this error from the adapter engine:

Delivery of the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint [null "null"]; nested exception caused by: com.sap.aii.af.sdk.xi.util.XMLScanException: Can't parse the document; nested exception caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence.

Is there any way I can find out which character in the source xml is causing this error?

Thanks and Regards,

Rana Brata De

Accepted Solutions (0)

Answers (2)

Answers (2)

gagandeep_batra
Active Contributor
0 Kudos

Hi Rana,

Are you using ICO in ur scenario then check the following blog:

http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/08/15/reading-binary-file-using-ico

Regards

Gagan

anupam_ghosh2
Active Contributor
0 Kudos

Hi Rana Brata,

   Try if you can get the payload

                      RWB-> component monitoring--->adapter engine-->communication channel monitoring--> error log for specific message---> details ---> message payload.

Now in the payload search for XML invalid character.

Regards

Anupam