I have a Firebase HTTPs function. The function needs to read a value from a Firebase database based on the query parameter, and return a result based on this data.  The Firebase JS SDK says to do this using:  return firebase.database().ref('/us...
Almost there, but for some reason my HTTP post request isn't firing and eventually the function timesout.  Completely beside myself and posting my code to see if anyone picks up on any noob moves that I'm completely missing.  NOTE:  the datab...
Thanks to Frank over at Firebase for helping me with this code. I just had this one issue with pushing the document id under Friends collection. I am not sure what is the best way to push const friendId and const accepted to friendsList array in the...
When I am importing more than 300 record in firebase using google cloud function than am getting error :    Error: function crashed out of request scope Function killed. Function execution took 31903 ms, finished with status: 'connection error...
i am using firebase function for creating notifications with cloud messaging. But i am always getting this Error:  Function execution took 60006 ms, finished with status: 'timeout'   but the notification works.   This is the code i am using i...
A 'days' node with more than 1 child isn't getting removed. How can I fix this issue?   I need to ensure that my promise bubbles up to the last then() on the top-level. So I need a return before collectionRef.once. But that return stateme...
I'm trying to send a notification to a user but for some reason i have an error. The error is "Function returned undefined, expected Promise or value".  I cant understand what does this line means, hope you guys can take a look at my code...
I have downloaded node.js, and have created the firebase-function files at the website directory (firebase.json, the functions folder and others).  If I was to write javascript cloud functions inside the project/functions/index.js file, it won't...
On last Firebase functions version, FirebaseDatabase triggers have been updated spliting his functionality with onCreate, onUpdate and onDelete instead of always use onWrite and check if the data have been removed or not in every call.   Can someone...
In firebase cloud function I am getting access denied on admin-firebase on read or write to realtime database.  This https://github.com/firebase/firebase-functions/issues/16 does not solve my problem , App engine default service account rights are se...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.