SFTP action not working


I have a SFTP action in my pipeline that has stopped working all of a sudden. I am getting following error once I try to test the action:

Server validation failed: SFTP error (SSH_FX_FAILURE): Failure

SSH actions are working with same key but SFTP action is not. Please let me know what can I do fix this.