Backblaze B2 init command fails (download url is)

Please describe what you are doing to trigger the bug:

duplicacy init -e usefulvidB2 b2://xxxxxxx

Enter Backblaze account or application id: xxx
Enter corresponding Backblaze application key xxx

Please describe what you expect to happen (but doesn’t):
duplicacy should ask for encryption password and initialize my bucket.

Please describe what actually happens (the wrong behaviour):
download URL is: https://f002.backblazeb2.com
download URL is: https://f002.backblazeb2.com
download URL is: https://f002.backblazeb2.com
download URL is: https://f002.backblazeb2.com
download URL is: https://f002.backblazeb2.com
download URL is: https://f002.backblazeb2.com
download URL is: https://f002.backblazeb2.com
download URL is: https://f002.backblazeb2.com
download URL is: https://f002.backblazeb2.com
download URL is: https://f002.backblazeb2.com
download URL is: https://f002.backblazeb2.com
download URL is: https://f002.backblazeb2.com
download URL is: https://f002.backblazeb2.com
Failed to load the Backblaze B2 storage at b2://xxxxxx: URL request ‘https://api002.backblazeb2.com/b2api/v1/b2_list_buckets’ returned 401

The aplication key has the permission to list buckets:

capabilities:

deleteFiles, listBuckets, listFiles, readBuckets, readFiles, shareFiles, writeFiles

This error is usually caused by an application key not permitted to access the specific bucket. See the exact same error here: Trying to create storage with RSA encryption: looping?

Definitely not :wink:
I have a single bucket and this key is allowed for this bucket.

edit:
Problem was in front of the screen. I used the “bucket id” instead of the “bucket name”. Now it works