#chambaz-netlify-lambda
1 messages · Page 1 of 1 (latest)
hello, not super familiar with Netlify so don't have any direct suggestions
Our webhook handler runs as expected but returns this error
just to help you think through this, what is running, how far is your code getting, where is it failing/returning this error?
Thats the thing, the entire webhook handler is running, we are using res.status(200) after sending an email and updating a firebase record and both of those are happening.
I wonder if I returning an empty response is the issue. But whats weird is we have always done that but the error only started showing recently
But the error message reads invalid status code
it last worked on October 13th and no changes were made to the codebase at that time. notice no response body not being an issue here.
I'm going to try returning a JSON response just to see if that could have suddenly started being an issue, perhaps on the Netlify side.
did some digging but not finding anything exactly related e.g. this isn't what you're seeing https://answers.netlify.com/t/error-decoding-lambda-response/16348
my steps would be to try out everything in test mode and add lots of logs and see how far your code is run and where it starts returning that error
PLEASE help us help you by writing a good post! Site Name: https://5edb48143846e0b608a234a0--heuristic-yonath-e84bf6.netlify.app/ DNS issues? Seems not to be a DNS issue since the live preview already not working. But here anyway the link to my custom domain: https://www.wiegandautomobile.de/ Build problems? Build goes through. Site is live. ...
Yeah i was looking at that thread also.