SFTP Step: Copy files to this instance not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2024 05:08 AM
Hi!
I am trying to create a new SFTP step for copy files from the SFTP server to ServiceNow instance. I have this data but it's not working:
Where the credential alias is a credential type, with a SSH Private Key credential created (and if I test the credential appears: "Credential Validated")
Then I have in the server two csv files inside "/data/share/E-CAT/" path
But when I tried to test the step this error appears:
And if I delete the path:
The action status is success but the path value is empty and there isn't any record.
Could you please help me?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2024 05:30 AM
Hi @acf ,
Possible cause.
- The file you are trying to copy may not exist at the specified path on the SFTP server.
- The MID Server used for the SFTP transfer may not have the correct capabilities or configurations for file transfers.
- Incorrect credentials (username, password, or SSH key) are used to connect to the SFTP server.
- The specified path in the SFTP step may be incorrect or the file name is dynamically generated and doesn’t match the actual file name.
- The target table in ServiceNow where the file should be copied might have restrictions or misconfigurations, or the attachment is not being created.
- Large file sizes or unsupported file types might cause the transfer to fail silently.
You Check
- ECC Queue
- Check the MID Server logs for issues related to the file transfer.
- Review System Logs > All for errors related to the file transfer process.
-------------------------------------------------------------------------
If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.
Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay
-------------------------------------------------------------------------