Created 04-15-2025 10:51 AM
Hi
We are using NiFi API to create ListSFTP processor.
When trying to connect to remote host we get below error.
Caused by: net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methods
When we update the "Password" manually in the processor it works fine.
We validated that the password value is sent with correct data but for some reason its not getting set using API.
Do we need to do anything extra for setting the password using API,
Thanks
Created 04-16-2025 02:59 AM
@MattWho Was able to resolve the issue.
The issue was with the request we are sending which was missing the "Password" value.
Sorry for ticket.
Created 04-15-2025 12:52 PM
@nifier
Not much insight I can offer here without you sharing the full nifi-api request being made.
Are you using curl?
How are you passing your user authentication in the rest-api call? (The exception you shared points at an authentication issue)
Thank you,
Matt
Created 04-15-2025 08:47 PM
@MattWho We create all our processors using NiFi API.
For ListSFTP we pass remote SFTP user credential in our REST POST API
process-groups/{id}/processors
Looks like "Password" property which we pass in the POST request is not getting set correctly.
Thanks
Created 04-16-2025 02:59 AM
@MattWho Was able to resolve the issue.
The issue was with the request we are sending which was missing the "Password" value.
Sorry for ticket.