Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

313
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda