Chrome Version 130.0.6723.70 (Official Build) (arm64)
Firebase SDK Version
11.0.1
Firebase SDK Product(s)
Storage
Project Tooling
Chrome extension with webpack and tailwind css
Detailed Problem Description
I am trying to upload media file(eg 4mb audio file) to firebase storage with uploadBytesResumable. But I am getting Firebase Storage: An unknown error occurred. When I use uploadBytes it worked fine. Since I need progress to track the upload. This is a showstopper for me.
Error uploading file: FirebaseError: Firebase Storage: An unknown error occurred, please check the error payload for server response. (storage/unknown)
Steps and code to reproduce issue
This code works
function uploadData(
uint8Array: Uint8Array,
) {
let app = initializeApp(firebaseConfig)
const storageRef = ref(getStorage(app), `${"path"}/${"test.mp3"}`)
let task = uploadBytes(storageRef, uint8Array, {
contentType: "audio/mpeg",
})
}
Operating System
macOS Sonama 14.6.1 (23G93)
Environment (if applicable)
Chrome Version 130.0.6723.70 (Official Build) (arm64)
Firebase SDK Version
11.0.1
Firebase SDK Product(s)
Storage
Project Tooling
Chrome extension with webpack and tailwind css
Detailed Problem Description
I am trying to upload media file(eg 4mb audio file) to firebase storage with
uploadBytesResumable
. But I am gettingFirebase Storage: An unknown error occurred
. When I useuploadBytes
it worked fine. Since I need progress to track the upload. This is a showstopper for me.Steps and code to reproduce issue
This code works
But the below code always fails
Note: It does work with small mp3(72.24 KB)