Questions tagged [backblaze]

Backblaze B2 Cloud Storage is a cloud object storage service from Backblaze. Feel free to post questions about integrating your app with Backblaze B2 via its S3-compatible and native APIs. Questions about general Backblaze B2 support, functionality, configuration, etc. are off-topic.

Backblaze B2 is a strongly consistent cloud object storage web service offered by Backblaze. The Backblaze S3 Compatible API integrates with existing data management tools and S3 gateways; the Backbaze B2 Native API exposes all B2 functionality, including features such as account configuration which are not accessible via the S3 Compatible API.

References

Tutorials

50 questions
1
vote
1 answer

How do I resolve a 'Unsupported value for canned acl 'private' error' on Backblaze B2 S3 Compatible API?

After getting help with the issue in this question, I'm getting another error despite successfully uploading the image which I can see on my Backblaze dashboard and within my app. Unable to write file at location:…
Adefowowe
  • 198
  • 2
  • 14
1
vote
1 answer

How do I resolve this Backblaze B2 S3 Compatible API error?

I'm getting this error: Unable to write file at location: profile-photos/rFfDwnJUhtTlcy87bDur4Co7q6UnDYEGRbdl6Bi0.jpg. Error executing "PutObject" on…
Adefowowe
  • 198
  • 2
  • 14
1
vote
2 answers

Is it possible to use the command line to transfer data from Backblaze B2 to Amazon S3 without downloading to a local directory?

I would like to move files from Backblaze B2 to Amazon S3. The instructions here say that I should download them to a local directory. However, I am trying to transfer about 180 TB of data so I would prefer to not have to download them locally. I…
1
vote
1 answer

How can I connect backblaze b2 bucket to a django project to store media and static files?

I want to shift from AWS to Backblaze, I tried to follow the documentation on django storages to simply modify a little my already exisiting aws configuration but I just kept having errors. My current aws configuration is like this: …
Enoch
  • 11
  • 1
  • 3
1
vote
1 answer

Uploading multiple files to Backblaze; my code doesn't wait for the promise to resolve

The code works and uploads images to Backblaze but it's not waiting for the for loop to finish running and the query to finish before calling next. If I console log the file ids it will list the ids 3 or four seconds after next() has been…
1
vote
1 answer

How do I use the javascript aws-sdk v3 (or backblaze native apis) to create a signed url to use on the client to upload (put) files to the bucket?

Attempt with aws-sdk v3, using my account's Master Application Key: import { getSignedUrl } from "@aws-sdk/s3-request-presigner"; import { PutObjectCommand, S3Client } from "@aws-sdk/client-s3"; import axios from "axios"; const region =…
55 Cancri
  • 1,075
  • 11
  • 23
1
vote
1 answer

backblaze seems to ignore path mtu - self build debian router has problems with too big packages

The root cause of my problem seems to be too big packages: 17:55:29.577781 eth0 In IP (tos 0x0, ttl 55, id 62820, offset 0, flags [DF], proto TCP (6), length 1500) …
1
vote
1 answer

Why am I getting the error "Invalid upload source" When attempting to upload a folder from my C drive with B2's CLI tool

I am attempting to upload a folder with the server data from a game server from my C drive with the "upload-file" command using B2's windows CLI. Every time I try, I am returned with the error "Invalid upload source". I will post the command below…
1
vote
1 answer

How do I get the SHA1 checksum of an image react native

I have been at this for hours now. I need to get the SHA1 checksum of an image in Expo React Native. I am using the ImagePicker API to get the image and can see that I can get the MD5 hash of the image which I verified but they are not the same…
Alexander
  • 457
  • 1
  • 4
  • 15
1
vote
1 answer

Uploading a file using the Backblaze B2 API with OpenFeign

I'm using Spring Boot with OpenFeign and I'm trying to upload a file to Backblaze B2. I already have b2_authorize_account and the b2_get_upload_url endpoints working. Now I'm trying to send a request to b2_upload_file. The code I have for the Feign…
1
vote
2 answers

Checksum did not match data received error on uploading large file in parts using b2 backblaze native php API

I am using the following documentation for calling the Backblaze B2 API from PHP: https://www.backblaze.com/b2/docs/b2_upload_part.html Which has the code below:
amitrnavik
  • 23
  • 4
1
vote
1 answer

TypeError about needing 'bytes' not 'str' in Python

I'm attempting to use the Backblaze B2 API to eventually iterate through some .ai files I have there, but the code that Backblaze provides in their documentation is giving me an error. Here's the code import base64 import json import…
1
vote
1 answer

net/http: HTTP/1.x transport connection broken: http: ContentLength=2514 with Body length 0

I am trying to convert a nodejs app to Go. Here I am trying to upload a file to B2. But I am getting Post "https://pod-XX.backblaze.com/b2api/v2/b2_upload_file/WERTGVWGTE/cSEREf": net/http: HTTP/1.x transport connection broken: http:…
pyprism
  • 2,928
  • 10
  • 46
  • 85
1
vote
1 answer

How to connect Backblaze B2 with Cloudflare and Flutter app?

I built a Flutter app. The main part of the app is uploading user videos. Until now I had connected Firebase cloud storage to my app. However, for cost reasons I wanted to use Backblaze as storage and Cloudflare as CDN. The question I have is: I…
Michael m.
  • 161
  • 1
  • 3
  • 13
1
vote
1 answer

Backblaze video duration issue in the merged large video file

I have a video file of roughly 100 Mb I have split it into 3 parts of 35Mb, 35Mb, 30Mb each. Steps I have done, I have called the start_large_file and I got the fileId. Successfully uploaded all the video parts using upload_part and provided the…
Dragon
  • 467
  • 2
  • 5
  • 13