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

AWS: errorMessage": "Unable to import module 'lambda_function'" #219

Open
kubert96 opened this issue Jul 12, 2021 · 1 comment
Open

AWS: errorMessage": "Unable to import module 'lambda_function'" #219

kubert96 opened this issue Jul 12, 2021 · 1 comment

Comments

@kubert96
Copy link

kubert96 commented Jul 12, 2021

Hello,

{
"directive": {
"header": {
"namespace": "Alexa.Discovery",
"name": "Discover",
"payloadVersion": "3",
"messageId": "1bd5d003-31b9-476f-ad03-71d471922820"
},
"payload": {
"scope": {
"type": "BearerToken",
"token": "access-token-from-skill"
}
}
}
}

I imported the ZIP file and paste the test code to AWS console (and did the full setup) but i only get error after try to run a test:

Test Event Name
haaska

Response
{
"errorMessage": "Unable to import module 'lambda_function'"
}

Function Logs
START RequestId: f0c7d8bb-56f0-41ec-b55d-f7a5163fa02e Version: 1
Unable to import module 'lambda_function': No module named 'lambda_function'

END RequestId: f0c7d8bb-56f0-41ec-b55d-f7a5163fa02e
REPORT RequestId: f0c7d8bb-56f0-41ec-b55d-f7a5163fa02e Duration: 0.34 ms Billed Duration: 1 ms Memory Size: 128 MB Max Memory Used: 42 MB Init Duration: 0.89 ms

Request ID
f0c7d8bb-56f0-41ec-b55d-f7a5163fa02e

@LacazeThomas
Copy link

Hi,
I think it's a problem with event_handler in AWS lambda console
See #168

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