Errors backing up to Backblaze from Linux

HI,

It’s showing green on the home page but under logs I’m seeing the following issues:

Request for http://localhost:8200/api/v1/remoteoperation/test gave error

System.Exception: 401 - bad_auth_token: Invalid authorization token
  at Duplicati.Library.Backend.Backblaze.B2AuthHelper.AttemptParseAndThrowException (System.Exception ex) <0x41d4a2c0 + 0x0058b> in <filename unknown>:0 
  at Duplicati.Library.Backend.Backblaze.B2AuthHelper.get_Config () <0x41cc62c0 + 0x00a2f> in <filename unknown>:0 
  at Duplicati.Library.Backend.Backblaze.B2AuthHelper.get_APIUrl () <0x41cc6290 + 0x0000f> in <filename unknown>:0 
  at Duplicati.Library.Backend.Backblaze.B2.List () <0x41cc5a30 + 0x000ab> in <filename unknown>:0 
  at Duplicati.Library.Backend.Backblaze.B2.Test () <0x41cc59e0 + 0x0000f> in <filename unknown>:0 
  at Duplicati.Server.WebServer.RESTMethods.RemoteOperation.TestConnection (System.String url, Duplicati.Server.WebServer.RESTMethods.RequestInfo info) <0x41cc2f00 + 0x003dc> in <filename unknown>:0 
  at Duplicati.Server.WebServer.RESTMethods.RemoteOperation.POST (System.String key, Duplicati.Server.WebServer.RESTMethods.RequestInfo info) <0x41cc2c30 + 0x001e7> in <filename unknown>:0 
  at Duplicati.Server.WebServer.RESTHandler.DoProcess (Duplicati.Server.WebServer.RESTMethods.RequestInfo info, System.String method, System.String module, System.String key) <0x41bdf270 + 0x00fec> in <filename unknown>:0 

Also

**Reporting error gave error**
System.ObjectDisposedException: Cannot write to a closed TextWriter.
  at System.IO.StreamWriter.Flush (Boolean flushStream, Boolean flushEncoder) <0x41a562d0 + 0x0004f> in <filename unknown>:0 
  at System.IO.StreamWriter.Flush () <0x41b22ab0 + 0x00031> in <filename unknown>:0 
  at Duplicati.Server.WebServer.RESTHandler.DoProcess (Duplicati.Server.WebServer.RESTMethods.RequestInfo info, System.String method, System.String module, System.String key) <0x41bdf270 + 0x0189e> in <filename unknown>:0 

And

**Failed while executing "Backup" with id: 2**
System.Exception: 500 - internal_error: Unexpected exception
  at Duplicati.Library.Main.Operation.BackupHandler.HandleFilesystemEntry (ISnapshotService snapshot, Duplicati.Library.Main.BackendManager backend, System.String path, FileAttributes attributes) <0x41d2af80 + 0x01fff> in <filename unknown>:0 
  at Duplicati.Library.Main.Operation.BackupHandler.RunMainOperation (ISnapshotService snapshot, Duplicati.Library.Main.BackendManager backend) <0x41d2a5e0 + 0x00647> in <filename unknown>:0 
  at Duplicati.Library.Main.Operation.BackupHandler.Run (System.String[] sources, IFilter filter) <0x41cf4710 + 0x0182f> in <filename unknown>:0 

Thanks.

David

Welcome to the forum! I edited your post to improve the formating. (Just added ~~~ before and after the output you pasted, please see here for details).

Can you test with an external cli to verify that you can contact using your credentials? I’m partial to the minio cli (Minio Downloads), but any method should work to verify.

Could you also export your config as text so we can see what you have configured? (change your credentials since this is a public forum)