Deployed Firebase Functions has a default timeout of 60 seconds, which looks like the 408 error shown in your Postman. Check if your Firebase console is logging any error for this function. My guess is that there might be some runtime error somewhere which you have caught using the .catch((err) => console.error(err)) but which you have never responded with a res.end(), which means that the function is left to run till the 60 seconds are up.
Thanks for the reply. On the dashboard inside firebase in the functions tab, getScreams as a request had to be added. I simply had to wait for it to update. 😅
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Deployed Firebase Functions has a default timeout of 60 seconds, which looks like the
408
error shown in your Postman. Check if your Firebase console is logging any error for this function. My guess is that there might be some runtime error somewhere which you have caught using the.catch((err) => console.error(err))
but which you have never responded with ares.end()
, which means that the function is left to run till the 60 seconds are up.Thanks for the reply. On the dashboard inside firebase in the functions tab, getScreams as a request had to be added. I simply had to wait for it to update. 😅