Hi @Vasileios Matiakis ,
Are you getting any other errors? How did you configure the trigger?
If you are able to connect to the SFTP server using WinSCP and see the files, but the Logic App trigger is not returning any files, there could be a few reasons for this:
The SFTP server may be configured to hide certain files or directories from clients. This could be due to security policies or other reasons. Make sure that the files you are looking for are not hidden or excluded from the SFTP server's directory listing.
The Logic App trigger may be configured to look for files in the wrong directory or with the wrong file name pattern. Double-check the trigger configuration to make sure that it is looking for files in the correct directory and with the correct file name pattern.
The SFTP server may be using a different file name encoding or character set than the Logic App trigger is expecting. Make sure that the trigger is configured to use the correct encoding or character set for the SFTP server.
There may be a network or firewall issue preventing the Logic App trigger from accessing the SFTP server. Check the network configuration and firewall rules to make sure that the trigger is allowed to access the SFTP server.
-Grace