Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting " at lowerCaseKeys (/var/task/node_modules/@probot/serverless-lambda/index.js:25:10)" error #34

Closed
jmunoz1992 opened this issue Feb 3, 2020 · 1 comment

Comments

@jmunoz1992
Copy link

When I run serverless invoke -f probot -l, the serverless framework runs my lambda function and loads the first line of the app then fails due to the following error in the probot lambda index.js file:

image

I believe the error may be coming from this file:

image

@alexdmejias
Copy link

@jmunoz1992 I have the same issue, did you have any luck resolving it?

mattcan pushed a commit to mattcan/serverless-lambda that referenced this issue Nov 5, 2020
This will fix probot#34 by setting a default value on the
`lowerCaseKeys` function. You can get into this state when setting up a
test/demo incorrectly or using a lambda warmer (like serverless-warmup).
I am immediately returning because then a clear error can be shown.
@gr2m gr2m closed this as completed in 5685871 Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants