DEV Community

[Comment from a deleted post]
Collapse
 
aaroncql profile image
Aaron Choo • Edited

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.

Collapse
 
robinaspman profile image
Robin Aspman • Edited

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. 😅