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

308
Views
Property <Object> contains an invalid nested entity. /Firebase

I'm trying to create a firestore collection. It gives me the error below in respose.

"Property images contain an invalid nested entity."

The attempted JSON object is below -->

{id: '', name: 'service 1', description: 'service 1 desc', status: 'ACTIVE', images: Array(5), …}

Inner images array, image object is below-->

{fileId: 0, fileName: 'pexels-helena-lopes-697244.jpg', fileType: 'image/jpeg', fileUrl: 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD…83creJTiULjHvxWDwOY1BzDLKFS4NspmW7lTMzBg4lT//2Q==', file: File}
about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Firestore can only store types that are listed in its documentation on data types. If you look carefully, you can see that your data contains a File value, which is not in the list of types that Firestore supports.

If you want to store the file's contents in Firebase, the idiomatic approach is to upload the file to Cloud Storage and then store its path (or a download URL) in Firestore.

about 4 years ago · Santiago Trujillo Report
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!