Skip to main content
New Participant
Oct 26, 2022 1:50 PM UTC
Question

Receive FILE from MFT is not working

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
    Oct 26, 2022 2:03 PM UTC

    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
    Inspiring
    Oct 26, 2022 2:08 PM UTC

    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.


    New Participant
    Oct 26, 2022 3:38 PM UTC

    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