Scheduled SFTP import intermittently fails with "Problem opening a handle to remote file"Issue A scheduled import that retrieves a file from a Secure File Transfer Protocol (SFTP) server intermittently fails. Some import runs retrieve the file successfully, while others cannot open the remote file. Symptoms Scheduled imports from an SFTP data source fail intermittently.Some import sets complete successfully without configuration changes.Failed import sets display an error similar to: java.io.IOException: Problem opening a handle to remote file: /<remote-directory>/<file-name>.csvThe scheduled import cannot retrieve the remote file when the error occurs. Facts The data source retrieves a file from an SFTP server.The issue occurs intermittently.The data source is configured with a remote file path.Both successful and failed import set executions can occur with the same scheduled import configuration.The file name or path can change between scheduled executions. Release Any Cause The SFTP server cannot provide access to the configured file when the scheduled import runs. This can occur when the file does not exist at the configured path, is not yet available, or the configured path cannot be resolved from the SFTP login directory. Because some executions complete successfully, the scheduled import configuration can establish the connection and retrieve the file when it is available and accessible. Resolution Open the scheduled import and identify its associated data source.Review the configured remote file path in the data source.Confirm that the expected file exists on the SFTP server at that exact path when the scheduled import runs.Confirm that the SFTP account used by the data source has permission to access the directory and open the file.If the data source uses a relative path, add ./ to the beginning of the path.Example:./<remote-directory>/<file-name>.csvIf the relative path does not resolve correctly, configure the complete absolute path to the file.Example:/<remote-directory>/<file-name>.csvConfirm that the configured file name matches the file placed on the SFTP server, including capitalization, extension, and any date-based portion of the file name.Run the scheduled import again and review the resulting import set to confirm that the file is retrieved successfully. Related Links Configure Data Sources and Schedule ImportsSFTP File Transfer Workflow