MuleSoft · SFTP Connector
SFTP:ACCESS_DENIED
Short answer
SFTP:ACCESS_DENIED means the operation tried to do something on an SFTP path that the connected user has no permission for. Grant that user the permission on the server, or connect as a user that has it.
VerifiedLast verified
01Error text
Error type: SFTP:ACCESS_DENIED02Likely causes
- An operation tried to access an SFTP path and perform an action that the user does not have permission to perform.
03How to fix it
- Reproduce the problem with an SFTP client such as Cyberduck or FileZilla, using the same host, port and user. Try the same action on the same path.
- Have the server administrator grant the user the missing permission on that path.
- Raise the logging level on the SFTP server and read its log for the same attempt.
- Handle the failure with an error handler of type
SFTP:ACCESS_DENIED.
04Official documentation
→Related errors
- SFTP:ILLEGAL_PATHSFTP:ILLEGAL_PATH means the path given to the SFTP operation is invalid, for example because it does not exist. Correct the path, or create the directory on the server first.
- FILE:ACCESS_DENIEDFILE:ACCESS_DENIED means a File Connector operation tried an action on a file or path that the user running the app is not permitted to perform. Grant that user the permission on the path.
- SFTP:INVALID_CREDENTIALSSFTP: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.
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