On and after about 6:00 today UTC, duplicacy (duplicacy_linux_x64_2.2.2) caused authorization error (401) when executing list sub-command to B2 cloud storage. The error message is as follows:
[0] URL request ‘POST https://api002.backblazeb2.com/b2api/v1/b2_list_buckets’ returned 401
I tried using older version (2.1.2) but not succeeded. And other Linux machine causes the same error, too.
Then I have read B2 API doc. and noticed that it describes about API v2 but duplicacy uses v1 like (shortened URLs):
In B2 doc: b2api/v2/b2_authorize_account
In duplicacy: b2api/v1/b2_authorize_account
So, I tried patching duplicacy to use API v2 for b2_authorize_account and others, but it didn’t work (causes 401 error).
Please fix this problem.
Regards.
PS. The error occurs when using B2 AP key. Not occurs when using master key.