Has anyone used the B2 API
-
I signed up for a B2 account.
I created a bucket.
I created an application key.
I cannot authenticate to the API.

Guide: https://www.backblaze.com/b2/docs/b2_authorize_account.html
-
Got it. I was using the account id with an application key.
A more careful reading of the above linked page shows that:

So that was the disconnect.
- Application Key requires Application ID.
- Account ID requires Master Application Key.
When the examples clearly stated ACCOUNT_ID and APPLICATION_KEY

-
The method I use to connect to sync is
b2 authorize-account Accountid application key -
@DustinB3403 said in Has anyone used the B2 API:
The method I use to connect to sync is
b2 authorize-account Accountid application keyI cannot use their client. This will be a web application.
-
Eh. . .
I just use python to sync via the CLI from directory 1 to b2://whatevers
-
B2's example for cUrl is exactly this.

But all other examples, and their text state that is should include the word
basicand be base 64 encoded.While I can do that, I was under the impression I could "prove" the solution via cUrl.
-
C# example.

-
@DustinB3403 said in Has anyone used the B2 API:
The method I use to connect to sync is
b2 authorize-account Accountid application keyTo verify I was not being stupid, I installed b2 locally as
pipis already installed on my Fedora 29 Desktop.
So account problem of some kind.
But it is created, and verified.
-
Got it. I was using the account id with an application key.
A more careful reading of the above linked page shows that:

So that was the disconnect.
- Application Key requires Application ID.
- Account ID requires Master Application Key.
When the examples clearly stated ACCOUNT_ID and APPLICATION_KEY
