Hi,
I am using SSH SFTP connector in Logic App to connect to a SFTP Server on port 22 using User ID/Password (no ssh keys). The connector is successfully connecting to the path and listing the available files using the 'List Files in Folder' action. However when trying to read the contents of the files using 'Get File Content' or 'Get File Content using Path' actions, receiving a Bad Gateway exception as follows:
{
"error": {
"code": 500,
"source": "",
"clientRequestId": "352750b6-1d9c-4fe1-82e6-0e2ee3f2e916",
"message": "BadGateway",
"innerError": {
"status": 500,
"message": "Specified argument was out of the range of valid values.\r\nParameter name: length\r\nclientRequestId: 352750b6-1d9c-4fe1-82e6-0e2ee3f2e916",
"error": {
"message": "Specified argument was out of the range of valid values.\r\nParameter name: length"
},
"source": "sftpwithssh-ncus.azconn-ncus.p.azurewebsites.net"
}
}
}
There are no IP whitelisting required at the SFTP server and able to connect using WinSCP from multiple devices. Not sure if this is due to any limitations with the Connector and please advise any possible solutions
Note: I am able to connect and retrieve the above files using Azure Function using Renci.SshNet.dll library, but facing issues via Logic App SSH SFTP connector

