Search code examples
firebasegoogle-app-enginegoogle-cloud-firestore

Unable to use Firestore for fresh projects


Further to I cannot enable firestore on a project although I'm not using AppEngine nor Datastore, we created a couple Firebase projects and specifically went out of our way to avoid setting up AppEngine or using the Datastore — because those evidently preclude setting up Firestore — yet we get an error attempting to enable Firestore.

When we click "Create Database" in the Firebase console, we get a "Cannot enable Firebase for this project / An unknown error occurred":

enter image description here

In attempting to diagnose this, in Google Cloud Console, it looks like the first AppEngine project is not set up (and it shouldn't be), speculating that perhaps the issue is with Datastore being enabled.

enter image description here

However, simultaneously we can "Disable application" under the App Engine => Settings:

enter image description here

So the question is: Why can't we enable Firestore for an effectively brand-new project? Is it related to AppEngine? Outside contacting support, is there a way to diagnose this?


Incidentally, during testing I disabled AppEngine in Google Cloud Console, and "Firebase -> Database" now states “App Engine needs to be enabled to use Cloud Firestore"

Would it be correct to assume that this is part of a transitional period for AppEngine & Firestore, and that these issues should be sorted out in the very near future?


Solution

  • You shouldn't have to touch your App Engine settings when setting up Cloud Firestore in a brand new project. In fact, there's a good chance doing so might cause inadvertent errors.

    In this situation, I think your best option really is to contact customer support, since there's probably something unique to your account that's causing this issue, and the support people have the tools to diagnose it.