Error: Failed to decrypt data

If you cannot decrypt it, there is nothing you can do, so that needs to be fixed first.

There is a tool called SharpAESCrypt.exe included with Duplicati that you can use on the commandline to try different passphrases. This is equivalent to the original implementation:
https://www.aescrypt.com/