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

81
Vistas
Firestore js Query asking to create Index key Every time
db.collection('messages')
  .doc(member_id)
  .collection(therapist_id)
  .where('is_deleted','==', false)
  .orderBy('is_deleted')
  .orderBy('message_timestamp');

Response i am getting is

**

async_observer.ts:47 Uncaught Error in snapshot listener: FirebaseError: The query requires an index. You can create it here:

**

This is my firestore query and it is always askig to create index key manually i dont want to create every time is thera any way to overcome this ?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Unfortunately but composite indexes are only created when you ask for them and they can't be created automatically.

The error message should contain a link directly to the console to complete that task.

about 4 years ago · Juan Pablo Isaza 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