MuleSoft · SFTP Connector

SFTP:INVALID_CREDENTIALS

Short answer

SFTP:INVALID_CREDENTIALS means authentication against the SFTP server failed because the credentials are invalid. Correct the user, password or key in the SFTP connection configuration.

VerifiedLast verified

01Error text

MuleSoft error
Error type: SFTP:INVALID_CREDENTIALS

02Likely causes

  • Authentication against the SFTP server failed due to invalid credentials.

03How to fix it

  1. Check the user name and the password or identity file in the SFTP connection configuration.
  2. Reproduce the problem with an SFTP client such as Cyberduck or FileZilla, using the same host, port and user. Log in with the same credentials.
  3. Turn on verbose logging: in log4j2.xml add <AsyncLogger name="org.mule.extension.sftp" level="DEBUG"/>. For SSH detail add <AsyncLogger name="org.apache.sshd" level="TRACE"/>, which produces a high log volume, so remove it afterward.
  4. Handle the failure with an error handler of type SFTP:INVALID_CREDENTIALS.

04Official documentation

Test every fix in a non-production environment before you apply it to production. See how entries are verified.

More for MuleSoft work:Open MuleSoft jobsMuleSoft rates and salariesHire a senior MuleSoft developer

The iPaaS Brief

Subscribe to The iPaaS Brief.

The iPaaS newsletter for the people who run integrations. From iPaaS Group.

Free. You finish on theipaasbrief.com and confirm by email.