Skip to content
Advertisement

Tag: firebase

index.esm2017.js:370 Uncaught (in promise) FirebaseError: Missing or insufficient permissions in ReactJs

Complete error Get https://firestore.googleapis.com/google.firestore.v1.Firestore/Write/channel?database=projects%2Fnetflixclone-001%2Fdatabases%2F(default)&gsessionid=Il1qOZrt3xwI9HsitxL5j4_GdibS-ga9&VER=8&RID=rpc&SID=MgLGFVuM420X7FPF_SYqrg&CI=0&AID=0&TYPE=xmlhttp&zx=fhlml28c0sd1&t=1 net::ERR_FAILED 200 Rules(cloud firestone) seedData Code(data.js) firebase.prod.js class All other pages working fine Answer Your security rules just do not allow anyone to read or write to your database. If your set your rule to true as shown below, it should allow your to write: Now the problem is anyone on the internet can read or

How can I read data from firestore database in a schedule function? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 1 year ago. The community reviewed whether to reopen this question 1 year ago and left it closed: Original close reason(s) were not resolved Improve this question I’m new to Firebase

Firebase – How to extend FirebaseError?

I am implementing a cloud function for signing up with unique username and password. In order to throw exceptions, I was previously doing the following: signUpValidation.js signUp.function.js But, I don’t really like this way of throwing the exceptions in the signUpValidation module… it makes more sense to me to throw “AuthErrors” instead of “HttpsErrors”. So, as it seems not possible

Getting `eslint’ – parsing error, while compiling firebase cloud function

Recently I’ve started working on a project based on firebase cloud functions and firestore database. I’m writing a cloud function trigger function which will query a “Collection group”, on a new document being created. Below is the cloud function code file: But while compiling i am being thrown the below error I tried a lot but I am unable to

`Firebase` package was successfully found. However, this package itself specifies a `main` module field that could not be resolved

I’m trying to read and write to firestore, use firebase’s authentication, and firebase’s storage within a expo managed react-native application. Full Error: My firebase config file: I installed the firebase package with: Any help would be greatly appreciated. Thank you! Answer To reduce the size of the app, firebase SDK (v9.0.0) became modular. You can no longer do the import

Advertisement