Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

117
Views
File upload at Chrome Extension using Firebase Storage(XMLHttpRequest is not defined)

I can send/take data with Firestore. But when I am trying to upload file to firebase storage, i took the following error. Have you ever faced this error? How can i handle it?

Uncaught ReferenceError: XMLHttpRequest is not defined Kontext ...gstatic.com/firebasejs/9.6.11/firebase-storage.js

var fileId = `${request.payload.getFileName}`; //value from html
const app = initializeApp(firebaseConfig);
const storage = getStorage(app);
const storageRef = ref(storage, fileId);
const metadata = {
    contentType: 'image/jpeg',
};
const uploadTask = uploadBytesResumable(storageRef, fileId, metadata);
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!