Firebase cloud function exits with code 16 what is error code 16 and where can I find more info?

前端 未结 4 425
悲哀的现实
悲哀的现实 2020-12-17 09:27

one of my cloud functions on firebase exits with code 16 as an error.

I tried to google and find out what that code is but no luck at all.

Error: P         


        
4条回答
  •  臣服心动
    2020-12-17 09:57

    Apparently and after investigation, the error means something like: Headers already sent.

    I had somewhere in my code a response.send() with headers and then, later on, I was sending another response.

    Would be great if the Firebase team could elaborate with these issues and provide some documentation instead of leaving us blindfolded (to my understanding)

提交回复
热议问题