firebase-tools icon indicating copy to clipboard operation
firebase-tools copied to clipboard

Unable to set GCP resource location

Open devravinder opened this issue 2 years ago • 5 comments

devravinder avatar Aug 29 '24 10:08 devravinder

I'm trying to create a basic Firebase project, when I run firebase init

I'm getting this error It looks like you haven't used Cloud Firestore in this project before

Upon debugging, I got to know, that it is checking the firestore db at the global location, but I created firestore db at ap-south-1 ( Mumbai ).

I'm facing issue while setting the location, I didn't find any way to set the location

devravinder avatar Aug 29 '24 10:08 devravinder

Hey @devravinder. I’m currently unable to reproduce this. I created a new Firebase project, and after opening "https://console.firebase.google.com/project/<PROJECT_ID>/firestore" to create a Cloud Firestore database, I was able to run firebase init firestore without any issues.

For us to be able to investigate why you’re encountering the error, we would need additional information. Could you run firebase init --debug and share your firebase-debug.log file? It contains a detailed log that we can use to check what caused the error. Please remove any personal identifiable information(PII) before sharing the file.

Also, if you’re encountering an issue with setting the location in the Firebase Console, please reach out to our Firebase Support channel to get assistance. They’ll be able to assist you further for issues related to project configurations.

aalej avatar Aug 29 '24 15:08 aalej

Hey @devravinder, just to verify, are you using multiple Firestore databases? If yes, it's possible that you’re encountering a similar issue to #7567. To workaround the issue, could you try creating a new database named (default)?

aalej avatar Sep 03 '24 18:09 aalej

Hey @devravinder. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 3 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

google-oss-bot avatar Sep 12 '24 01:09 google-oss-bot

Since there haven't been any recent updates here, I am going to close this issue.

@devravinder if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.

google-oss-bot avatar Sep 17 '24 01:09 google-oss-bot