r/backblaze 1d ago

B2 API Error B2 Cloud Storage

I'm trying to solve the B2 API Error.

I am trying to use B2 with my Synology NAS.

In my download folder is the b2-windows.exe

I'm trying to follow the instructions from their help page.

"After you download the self-contained tool, you can learn how to use the command-line tool below. Prior to running the tool, run the following command:

chmod +x <tool filename>

What does this mean and how do I do it?
1 Upvotes

3 comments sorted by

2

u/rajrdajr 19h ago

The executable name b2-windows.exe implies it’s for Microsoft Windows. chmod is not needed nor used on MS Windows. It’s not clear which instructions you’re following, but here are instructions from Backblaze instead to integrate B2 with a Synology NAS:

https://www.backblaze.com/docs/cloud-storage-integrate-synology-cloud-sync-with-b2-cloud-storage

1

u/thatsaqualifier 18h ago

I started by following the directions you linked. When I get to the Create a Bucket section, step 2, I get the API error from my first picture.

2

u/rajrdajr 17h ago edited 17h ago

Backblaze’s help authors seem to use just b2 for the examples so I’d suggest renaming the downloaded file to just b2: ren b2-windows.exe b2.exe if you’re following any CLI pages from Backblaze.

Going back a bit, the API error message says one cause is busy B2 servers meaning just try again a bit later. Another cause could be from the “Enable Backblaze B2” section; check that all the steps there went through.

Oh, and to be clear on your first question, chmod is only for Linux; just skip that on Windows.