400 - bad_request: invalid sha1

Starting with upgrade to the most recent version, I have been getting this error every time I run my backup to Backblaze B2. I am using version on MacOS High Sierra. My backup of the same data to a Samba share is still working fine.

Failed: 400 - bad_request: invalid sha1: 8116318EB12EE2C849998DB54671A67C97A8D481000000000000000000000000
Details: System.Exception: 400 - bad_request: invalid sha1: 8116318EB12EE2C849998DB54671A67C97A8D481000000000000000000000000
  at Duplicati.Library.Main.Operation.BackupHandler.HandleFilesystemEntry (Duplicati.Library.Snapshots.ISnapshotService snapshot, Duplicati.Library.Main.BackendManager backend, System.String path, System.IO.FileAttributes attributes) [0x0000e] in <4b690539f7f14b1e8efc3ce9f9bbe28b>:0 
  at Duplicati.Library.Main.Operation.BackupHandler.RunMainOperation (Duplicati.Library.Snapshots.ISnapshotService snapshot, Duplicati.Library.Main.BackendManager backend) [0x0018a] in <4b690539f7f14b1e8efc3ce9f9bbe28b>:0 
  at Duplicati.Library.Main.Operation.BackupHandler.Run (System.String[] sources, Duplicati.Library.Utility.IFilter filter) [0x008a5] in <4b690539f7f14b1e8efc3ce9f9bbe28b>:0 
  at Duplicati.Library.Main.Controller+<>c__DisplayClass16_0.<Backup>b__0 (Duplicati.Library.Main.BackupResults result) [0x004fc] in <4b690539f7f14b1e8efc3ce9f9bbe28b>:0 
  at Duplicati.Library.Main.Controller.RunAction[T] (T result, System.String[]& paths, Duplicati.Library.Utility.IFilter& filter, System.Action`1[T] method) [0x00072] in <4b690539f7f14b1e8efc3ce9f9bbe28b>:0

I found the problem, it is caused by the change to use the Apple Common Crypto hashing in Duplicati.

I will fix it for the next build, but if you want a fix, either go back to or set the environment variable FH_DISABLE_APPLECC=1 before starting Duplicati.

A post was split to a new topic: “File names must not contain” error