Article ID: kb00238Last Modified: 22-Aug-2024
BackBlaze B2 “Unauthorized” Error
Situation
Backup plan fails with the following error message:
2020-01-01 10:00:00,000 [CL] [2] ERROR - Generating chunks failed
CloudBerryLab.Base.Exceptions.Status401Exception
unauthorized
Cause
The BackBlaze (B2) storage account credentials are outdated or were deprecated through the B2 cloud storage management console (“App Keys” page).
Solution
Generate a New Application Key
- Open the B2 management console.
- Select App Keys.
- Click Add a New Application Key.
The Application Key must be set up to access all buckets and have access to both Read and Write operations. Do not specify any File name prefix.
Add the new key via MSP360 (CloudBerry) Backup GUI
- Open MSP360 (CloudBerry) Backup for Windows.
- In the application menu, select Edit Storage Accounts.
- In the list, select the Backblaze account that was causing the error, then click Edit.
- Specify the credentials for the new application key you have generated.
- Click OK
Add the new key via the Managed Backup Portal
- Open the Management Console.
- In the Storage menu, select Storage Accounts.
- Find the Backblaze account that was causing the error, then click the gear icon.
- Select Change Credentials.
- In the Change Credentials dialog box, specify the credentials for the new application key you have generated.
- Click Save.