Skip to main content
October 26, 2022
Question

Receive FILE from MFT is not working

  • October 26, 2022
  • 4 replies
  • 0 views
Hi,

We are getting below error when trying to read document from MFT folder. It was working fine and suddenly breaking.

[Appian Work Item - 245513 - WorkID 6 - execution02 - process 537248294 - model 8379 : UnattendedJavaActivityRequest] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=536905115, classname=com.appian.ps.plugins.sftpsmartservices.ReceiveFileOverSFTPBasic java.lang.StringIndexOutOfBoundsException: String index out of range: -1

Could you please help me here?

    4 replies

    stefanhelzle0001
    Brainy
    October 26, 2022

    We might be able to help you with a way more detailed description of your issue ...

    And, what does "suddenly" mean. Something has changed. You need to find out what.

    richardm900458
    October 26, 2022

    This simple logic never gets old.

    Things are not deciding that they won't work any more. so something changed in the set-up.
    Try to trace back, what changed exaclty.


    October 26, 2022

    Thank you for the reply.

    Simple configurations only we have, nothing changed

    serverHostName Text No =cons!MFT_SFTP_HOST
    serverPort Number (Integer) No =22
    sftpPassword Text No =cons!MFT_SFTP_PASSWORD
    sftpServerRemoteDirectory Text No =cons!MFT_SFTP_FILEPATH
    sftpUsername Text No =cons!MFT_SFTP_USERNAME