Error fetching Firestore indexes
See original GitHub issue[REQUIRED] Environment info
firebase-tools: 7.13.1
Platform: Windows 10
[REQUIRED] Test case
firebase init
[REQUIRED] Steps to reproduce
Well, firebase init
?
[REQUIRED] Expected behavior
I just want to init the Firebase project…
[REQUIRED] Actual behavior
There was error while firebase init
.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:20
- Comments:32 (9 by maintainers)
Top Results From Across the Web
Error fetching Firestore indexes - Google Groups
Error: Error fetching Firestore indexes. Can anyone help me? The firebase version is 8.2.0. This is how the process looks like: firebase init....
Read more >Manage indexes in Cloud Firestore - Firebase - Google
Manage indexes in Cloud Firestore · On this page · Create a missing index through an error message. Use the Firebase console ·...
Read more >Firestore Error: The query requires an index - Stack Overflow
This error is happening because by default Firestore does not require additional indexes for queries that only use equality clauses, ...
Read more >Managing indexes | Firestore - Google Cloud
An indexing operation can fail if Firestore encounters a problem with the data it's indexing. Most commonly, this means you hit an index...
Read more >Error fetching Firestore indexes - 나를 위한 것만은 아닌 기록
Error fetching Firestore indexes Firebase Hosting을 하면서 보일 수 있는 Error fetching Firestore indexes 오류와 그 해결방법에 대해 알려드 ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just go to gcloud console and switch back to Native mode in datastore / firestore. then run this command again all works.
@PsychoXIVI thanks for the logs! The error is here:
This is a bug, we should catch this configuration earlier. The Firebase CLI is only useful for Firestore in Native mode, not Datastore mode. For now you can get around this by using
firebase init
but not selecting Firestore as one of your projects.