Hi,
This error comes from the SFTP server, which rejected SFTP client's rename request with an error message of "Failure" and an SFTP error code "SSHFXFAILURE" indicating generic failure.
The SFTP protocol's rename operation is actually supposed to fail when the destination file already exists, which means that the observed behavior is correct, (even though the generic error message is not informative at all).