Error: HTTP error: 400, Project 'my_project' is not a Firestore enabled project
Solution 1
I figured it out myself. It was just an ignorance while using the firebase console. I just had to enable the firestore beta from the console itself, under Database.
Solution 2
Are you trying to use Cloud Firestore?
- If so, visit the database section of the console and initialize Cloud Firestore
- If not, remove the
firestore.rules
file locally
Solution 3
If you’re not using Cloud Firestore, comment firestore in firebase.json
Solution 4
I had the same problem. The solution is this: Go to Firebase console and login there [Firebase console]. Here you will see your Recent projects. Go to your project e.g. “stepintothepresent” and then go to database at left side panel, then choose cloud firestore and then I selected the 2nd option.
After that I run firebase deploy from command prompt and the result is this
Related videos on Youtube
Stepres stepres
Updated on January 05, 2022Comments
-
Stepres stepres over 2 years
While I run the command
firebase deploy
I get this error:Error: HTTP Error: 400, Project 'my_project' is not a Firestore enabled project.
-
Jiping about 5 yearsThanks, saved my day. Yes, the Firestore database is not created( while the realtime database is initialized), so manually create the Firestore database using default settings, then "firebase deploy" again, OK now.
-
-
mewc about 6 yearsthis is good, thanks. It's literally just changing that from realtime Database to Cloud Firestore. But init some stuff and allow it to work. Thanks