cancel
Showing results for 
Search instead for 
Did you mean: 

Special Character Issue

Former Member
0 Kudos

Hi, We are having a scenario where in its failing due to the below error.

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

This is failing in mapping due to some special character. We are using a SFTP adapter for this scenario at the sender. We changed the SFTP to FTP adapter and the interface passed successfully.

But this is giving the above error when using a SFTP sender channel. Any help would be appreciated. Dont think this is a mapping issue but something to do with SFTP adapter.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member190293
Active Contributor
0 Kudos

Hi Amit!

Just for case: check your input file for UTF Byte Order Mark existance.

Regards, Evgeniy.

Andrzej_Filusz
Contributor
0 Kudos

Hi Amit,

Can you ask anyone from the sender side what an encoding they use when they create a file for you? Or maybe you have an access to SFTP server and you can get an unprocessed file to check its encoding by yourself? Once you will know the correct encoding you can put it into your communication channel configuration.

Regards,

Andrzej

former_member186851
Active Contributor
0 Kudos

Hello Amit,

Can you check the input file if it has any special characters?

If yes you can change encoding and try.