Function started responding with 502s overnight

Hey @pjatx,
We dug into this a bit and are seeing this error in our logs:

“error decoding lambda response: json: cannot unmarshal bool into Go struct field lambdaInvokeResponse.headers of type string”

Some other people seem to have run across a similar error:

Checking out your response headers and that error message, I would try making true a string instead of a boolean. I’m not yet sure if this is an encoding error on our end (as suggested in that other post) but wanted to share the possible fix. Want to give it a shot and let us know how it goes?