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

240
Views
Error de Firebase "Error no detectado en el detector de instantáneas: FirebaseError: la consulta requiere un índice"

Recibo el error anterior cuando ejecuto la siguiente consulta. Puedo visitar el enlace provisto para crear un índice, pero si entiendo esto correctamente, no creo que sea factible ya que la consulta está buscando en el mapa de "miembros" la identificación de los usuarios actuales que obviamente cambiará dependiendo del usuario. ¿Hay algún tipo de solución a este problema o tendría que reestructurar mi base de datos?

 const subscribeChats = () => { const chatsQuery = query( collection(db, "chats"), where(`members.${getAuth().currentUser.uid}.inChat`, "==", true), where(`members.${getAuth().currentUser.uid}.isHidingChat`, "==", false), orderBy("lastActive", "desc") ); return onSnapshot(chatsQuery, (snapshot) => { setChatsList( snapshot.docs.map((doc) => { return { id: doc.id, data: doc.data() }; }) ); }); };
about 4 years ago · Juan Pablo Isaza
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!