-
Notifications
You must be signed in to change notification settings - Fork 412
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
Bug: Base HTTP gateway resolver sample fails #5321
Comments
Thanks for opening your first issue here! We'll come back to you as soon as we can. |
Ciao @andreacfm, thanks for opening this issue! I couldn't reproduce the error and I'm wondering if you are using Payload v1.0 in this integration. You should use Payload v2.0 to use this Resolver. Payload v1.0 is supported in I would also like to ask if you are using Terraform to deploy this workload, because this is a known issue that Terraform defaults to Payload v1.0 if the version is not provided. Please let me know if changing the version fixed the problem and if I can help with anything else. |
@leandrodamascena my bad. I was using 1.0 payloads. Thanks for checking in. |
|
Expected Behaviour
The error happens both with 3.0.0 than with 2.43.1
Current Behaviour
The base sample from the handler docs for Api HTTP Gateway returns the following 500 error.
Code snippet
Possible Solution
No response
Steps to Reproduce
Deploy the lambda and executed the /todos request using an HTTP gateway.
Powertools for AWS Lambda (Python) version
latest
AWS Lambda function runtime
3.8
Packaging format used
PyPi
Debugging logs
No response
The text was updated successfully, but these errors were encountered: