1
votes

I am learning how to set up and host a webpage through firebase, and when I attempt to initialize the project (by running firebase init in the firebase CLI) every time I reach the firestore setup portion, it always results in the same error.

It looks like you haven't used Cloud Firestore in this project before. Go to https://console.firebase.google.com/project/resume-site-599bc/firestore to create your Cloud Firestore database

When I copy and paste the link, it brings me to the firebase console page and says "your action was forbidden" no matter what I do. I have tried to go into the console settings and made sure all of the correct APIs are enabled. But there seems to be little help when I tried googling the issue.

Thank you.

2

2 Answers

0
votes

Look like you haven't create project on your firebase account So firebase ask you go into the link to create project.

For the problem of "your action was forbidden", it seem to be the problem of multi google accounts. Google still work quite bad on multi accounts sometime. You can try access the google firebase console main page by the link below.

https://console.firebase.google.com/u/0/

https://console.firebase.google.com/u/1/

The last number is the number of user. You can change it if you have many google accounts.

P.S. The user order will change if you logout.

0
votes

Most likely that you don't have the project created in firebase. Either create a new project by going to

https://firebase.corp.google.com/u/0/

or enable Firebase for an existing GCP project by choosing that project in the add project page