Error message
During a file storage import, you may see:
Could not get a sample from selected fileWhy does this happen?
During a file storage import, you may see this error when Bloomreach loses its connection to the source file. For SFTP imports, the source server may have dropped the connection. This usually indicates a connection issue rather than a problem with the file contents.
Understand why the preview can work
The preview and the actual import use separate connections. An intermittent connection may allow the preview to load while causing the import to fail.
How do I fix it?
Retry the import once, preferably at a different time.
If it fails again, ask your SFTP administrator to:
Check connection limits and server load.
Review server logs for connection resets or timeouts.
Confirm that the SFTP firewall allows the current Bloomreach IP addresses.
Confirm that the configured user can access the specified file.
If the issue persists, contact Support with the following details:
Project URL
Import ID or URL
Integration type
Source path
Failure timestamp
Screenshot
Relevant SFTP logs, if available