SFTP Connector Error Codes

  • SFTP Create Connection Errors
  • SFTP Connection Upload Errors
  • SFTP Connection Download Errors

SFTP Create Connection Errors

Error CodeMessage
FTP_UNKNOWN_HOSTThe host could not be found.
FTP_CONNECT_TIMEOUT_EXCEEDEDA connection could not be established within options.timeout seconds.
FTP_CONNECT_TIMEOUT_EXCEEDEDThe username/password is invalid or permission to access the directory isdenied.
FTP_INVALID_PORT_NUMBERThe port number is invalid.
FTP_INVALID_CONNECTION_TIMEOUTThe options.timeout value is either a negative value, zero, or greater than 20 seconds.
FTP_INVALID_DIRECTORYThe directory does not exist on the remote FTP server.
FTP_INCORRECT_HOST_KEYThe host key does not match the presented host key on the remote FTP server.
FTP_INCORRECT_HOST_KEY_TYPEThe host key type and provided host key type do not match.
FTP_MALFORMED_HOST_KEYThe host key is not in the correct format. (e.g. base 64, 96+ bytes)
FTP_PERMISSION_DENIEDAccess to the file or directory on the remote FTP server is denied.
FTP_UNSUPPORTED_ENCRYPTION_ALGORITHMThe remote FTP server does not support one of NetSuite’s approved algorithms. (e.g. aes256-ctr, es192-ctr, es128-ctr)
AUTHENTICATION_FAIL_TOO_MANY_
INCORRECT_AUTHENTICATION_ATTEMPTS
There are too many incorrect authentication attempts.
NO_ROUTE_TO_HOST_FOUNDNo route to the host can be found.
CONNECTION_RESETThe connection has been reset.
CONNECTION_CLOSED_BY_HOSTThe connection is closed by the host.
THE_REMOTE_PATH_FOR_FILE_IS_NOT_VALIDThe file’s remote path is invalid.
SFTPCREDENTIAL_ENCODING_ERRORThere is an SFTP credential encoding error.
UNABLE_TO_GET_SFTP_SERVER_ADDRESSThe SFTP server address is unavailable.

SFTP Connection Upload Errors

Error CodeMessage
CONNECTION_CLOSED_BY_HOSTThe connection is closed by the host.
CONNECTION_RESETThe connection has been reset.
FTP_NO_SUCH_FILE_OR_DIRECTORYThe file or directory does not exist.
FTP_TRANSFER_TIMEOUT_EXCEEDEDThe transfer is taking longer than the specified options.timeout value.
FTP_INVALID_TRANSFER_TIMEOUTThe options.timeout value is either a negative value, zero or greater than 300 seconds.
FTP_FILE_ALREADY_EXISTSThe options.replace existing value is false and a file with the same name exists in the remote directory.
THE_REMOTE_PATH_FOR_FILE_IS_NOT_VALIDThe file’s remote path is invalid.
FTP_PERMISSION_DENIEDAccess to the file or directory on the remote FTP server is denied.

SFTP Connection Download Errors

Error CodeMessage
FTP_MAXIMUM_FILE_SIZE_EXCEEDEDThe file size is greater than the maximum file size allowed by NetSuite.
FTP_NO_SUCH_FILE_OR_DIRECTORYThe file or directory does not exist.
FTP_TRANSFER_TIMEOUT_EXCEEDEDThe transfer is taking longer than the specified options.timeout value
FTP_INVALID_TRANSFER_TIMEOUTThe options.timeout value is either a negative value, zero or greater than 300 seconds.
FTP_PERMISSION_DENIEDAccess to the file or directory on the remote FTP server was denied
CONNECTION_RESETThe connection has been reset
THE_REMOTE_PATH_FOR_FILE_IS_NOT_VALIDThe file’s remote path is invalid.
CONNECTION_CLOSED_BY_HOSTThe connection is closed by the host.

Leave a comment

Your email address will not be published. Required fields are marked *