Skip to Content
avatar image
Former Member

Special Character Issue

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jul 27, 2017 at 08:15 AM

    Hi Amit!

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

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 26, 2017 at 03:05 PM

    Hello Amit,

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

    If yes you can change encoding and try.

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 27, 2017 at 07:36 AM

    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

    Add comment
    10|10000 characters needed characters exceeded