Upload to SFTP host [host] failed due to error: NoMethodError. message: undefined method `write' for nil:NilClass

Knowledge Drop

Last tested: Oct 18, 2019

The Problem:

Error: Upload to SFTP host [host] failed due to error: NoMethodError. message: undefined method `write' for nil:NilClass


Troubleshooting steps:

This error can happen when some part of the connection and transferring of data to the SFTP server failed for schedules that send with "All Results" selected. In order to get a better error message, try sending again with "Results in Table" selected.

Some good things to check in general for SFTP issues:

- Trailing slash on the path - the path should always end in a trailing / and should point to a specific directory on the SFTP server.

- Have our IP Addresses been whitelisted on the server?

- Did the schedules work previously and broke? Or have they not been able to successfully set up?

Also check for a / in the schedule name.

This content is subject to limited support.                

Version history
Last update:
‎06-14-2021 06:18 PM
Updated by: