Error: HTTP Error: 400, Project 'my_project' is not a Firestore project

While I run the firebase deploy command, I get this error:

Error: HTTP error: 400, Project 'my_project' is not a Firestore project.

enter image description here

+32
firebase google-cloud-firestore
source share
8 answers

I figured it out myself. It was just ignorance using the firebase console. I just needed to enable the beta version of firestore from the console itself in the database.

+16
source

Are you trying to use Cloud Firestore?

  • If so, go to the console database section and initialize Cloud Firestore
  • If not, delete firestore.rules file locally
+33
source

I have the same problem. The solution is: go to the Firebase console and log in to it [Firebase console]. Here you will see your latest projects. Go to your project, for example, "stepintothepresent", then go to the database in the left sidebar, then select the cloud storage, and then I chose the 2nd option.

Firebase Console> Your Firebase Project> Database

After that, I run firebase deploy from the command line, and the result is as follows

Result from windows command prompt

+10
source

If you are not using firestore, comment on firestore in firebase.json

enter image description here

+10
source

You can enable the REST API using the following URL:

https://console.cloud.google.com/apis/library?project=

0
source

chose Cloud Firestore when initially setting up Firebase?

Just go to the console and turn on Cloud Firestore. When prompted for one time, you can select a test mode to run, and then change it to private.

0
source

I had to create a database environment, and after that it worked fine. I use the database in real time, not Cloud storage, so it should not have stopped it, in any case, it was fixed.

0
source

someone with a different answer.

Are you trying to use Cloud Firestore?

If so, go to the console database section and initialize Cloud Firestore * Can you post the URL please?

If not, delete the firestore.rules file locally * Error: Error reading the firestore.rules rules file

-one
source

All Articles