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

436
Views
Error: [storage/unknown] An unknown error has occurred. iOS firebase

I'm trying to post some csv files to Firebase by uploading them to Firestore, downloading the urls, and then doing so, but I keep receiving this issue. Ninety percent of the time, it works, but occasionally it displays this error.

Error: [storage/unknown] An unknown error has occurred.

const uploadToStorage = async (file, index) => {
    await storage()
      .ref(`SensorData/${userName}/session_${sessionCount}/${index}.csv`)
      .putFile(file);
    const url = await storage()
      .ref(`SensorData/${userName}/session_${sessionCount}/${index}.csv`)
      .getDownloadURL();
    urls[index] = url;
    return urls;
  };

const uploadToFirebase = async (files) => {
    urls = [];
    Promise.all(
      // Array of "Promises"
      files.map((file, index) => uploadToStorage(file, index))
    )
      .then((url) => {
        postReportsToFirebase(urls);
      })
      .catch((error) => {
        console.log(error);
      });
  };

Version:

  • "react-native": "0.64.1",
  • "@react-native-firebase/app": "^12.7.3",
  • "@react-native-firebase/auth": "^12.7.3",
  • "@react-native-firebase/firestore": "^12.7.3",
  • "@react-native-firebase/functions": "^12.7.3",
  • "@react-native-firebase/storage": "^12.7.3",*
about 4 years ago · Santiago Gelvez
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!