Ad

Cloud Function Finished With Status: 'timeout'"

- 1 answer

In Firebase console, the last Event message in Functions/Log section is "Function execution took 60006 ms, finished with status: 'timeout'". Is "timeout" the status the function is supposed to finish with? Or did I miss something in the code that would say "that's the end"?

Ad

Answer

You should send a response like res.send(200) at the end for it to terminate properly

Ad
source: stackoverflow.com
Ad