The Cloud Firestore API is not available for Firestore in Datastore Mode database projects/<xxx>/databases/(default).
257 views
Skip to first unread message
Thomas Nevin K (Changu)
unread,
Mar 31, 2024, 10:23:08 AM3/31/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Firebase Google Group
I have a google sign in popup inside my sign-in component or page(Reactjs). This google signInWithPopup functionality imported from firebase/auth is inside my firebase.utils.js file where I have called this signInWithPopup function with the auth produced from getAuth functionality on the initialized firebase app imported from firebase/auth and the GoogleAuthProvider functionality with the prompt as select_account imported from firebase/auth. Google sign in popup is working fine. I want to create user instances inside of Firestore. We don't have document references inside our database. I'm able to console log the DocumentReference object generated by Google using the doc functionality imported from firebase/firestore. I'm not able to console log the user snapshot i.e, using the getDoc functionality on the DocumentReference object generated by Google imported from firebase/firestore. It is throwing the error shown in the images.