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

78
Views
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 answers
Answer question

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 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!