question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 4 years ago
  • Reactions:20
  • Comments:32 (9 by maintainers)

github_iconTop GitHub Comments

16reactions
ahsanghalibcommented, Mar 12, 2020

Just go to gcloud console and switch back to Native mode in datastore / firestore. then run this command again all works.

15reactions
samtsterncommented, Feb 21, 2020

@PsychoXIVI thanks for the logs! The error is here:

[2020-02-21T10:38:26.197Z] FirebaseError: HTTP Error: 400, This operation is not available for Cloud Firestore projects in Datastore Mode.

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.

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found