Closed anthonyalmarza closed 3 years ago
Hi @anthonyalmarza, could you provide relevant parts from your Lambda handler? Are you setting binarySettings
?
:tada: This issue has been resolved in version 4.3.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Hi, So I'm sometimes running into this issue where on the following line there is raising a runtime error where
binarySettings.contentEncodings
is undefined. https://github.com/vendia/serverless-express/blob/mainline/src/is-binary.js#L10I'm not sure how this is happening but I've followed the trail up to the following two links if that helps. https://github.com/vendia/serverless-express/blob/mainline/src/proxy.js#L28 https://github.com/vendia/serverless-express/blob/mainline/src/index.js#L17-L22
The following is the stacktrace I'm getting back from my lambda function.
More context around this sometimes happening is that when I remove
Accept-Encoding
from the headers the error is not raised. Very confusing.Any and all help on this issue would be much appreciated.
Package deps: