Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

311
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda