Firebase admin isn't writing to the database.  I am instantiating the database:  var db = admin.database();   Then setting up a reference to the table I want:  var systemsRef = db.ref("systems/");   I then have a function to check if the...
I keep having these warnings in the Firebase Logs Console: "FIREBASE WARNING: Invalid query string segment:"  I checked everything but I can't find some reasons.  Do you have any ideas ?  Configuration  { "name": "functions&#...
I want to use onCreate method instead of onWrite for the sake of efficiency but I face that error:     functions.database.ref(...).onCreate is not a function.   However, there seems to be a function as mentioned in the doc https://firebase.google.com...
I'm getting this error in my terminal:  @firebase/database: FIREBASE WARNING: {"code":"app/invalid-  credential","message":"Credential implementation provided to .  initializeApp() via the \"credential\" proper...
I have client-side login on my app which is working just fine. Now I need to pass the clients UID to Node.  Found this Verify ID Tokens in Firebase docs, but i just don't know how would i actually do this part: "Send token to your backend via...
I'm trying to download some images that I have uploaded to my Google Cloud Storage (aka into buckets). I'm unable to use the .ref() method on any of my const storage or const bucket because they are part of the admin SDK. The admin.storage ha...
I am fixing an error message which occurred, but it also used to work before. I am sending FCM notification with multiple tokens and am getting the following error  0|api      | 2020-2-11 13:26:26   [ExceptionsHandler] Exactly one of topic, token or...
I'm using firebase admin SDK on cloud functions to create users using     admin.auth().createUser({ email: someEmail, password: somePassword, })   now I want user to signIn using signInWithEmailAndPassword('someEmail', 'somePassword&#...
I'm in the process of trying to create a trigger that would add up test scores and then calculate the students placement based on previous test results.  I am attempting to utilize Promises within a FOR loop as seen below:  exports.boxScoresUpdat...
I have created a Cloud Function that trigger on any new file upload in Firebase Storage. Once successful upload function will update its metadata, but even though setting new metadata with 'setMetadata()' is not getting applied. There is no e...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.