Hi @CRASH4 ,
Welcome to Microsoft Q&A! Thanks for posting the question.
I tested a scenario using the SFTP - SSH connector in Logic Apps and it worked as expected and I was able to get the content of file back. I connecting to SFTP enabled Azure Blob Storage from Logic Apps using only the userid/password (and not the ssh keys)
The limits for this connector are mentioned here, however I don't think that any of these might be related. The error message mentions:
"Specified argument was out of the range of valid values.
Parameter name: length
clientRequestId: 352750b6-1d9c-4fe1-82e6-0e2ee3f2e916"
Based on my observation, there are no length related parameters as supplied in the activities/connector in Logic Apps. Can you please check if:
1. Is the "File Path/File Name" huge? Can you please test with a smaller file name?
2. Please check if the configuration of activities for "SFTP - SSH" look like below:
3. Please check and ensure that there are no special/no-printable characters in the "File" or "File Path" fields.
4. Since the error is 500, this is coming from the server side. Please check if there is a way to get more details of this error - especially, why does it not like the get content request.
Please let me know if you have any questions.
---
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.
