-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Description
Expected Behavior
Following the guide should result in a working Lambda behind AWS API gateway by telling the user to configure the V2 protocol handler by default. If you do accidentally mismatch the protocols, the handlers should detect that and throw a useful error message, not just die with an NPE.
Actual Behaviour
If you use the V1 handler with a V2 API GW then you get a weird NullPointerException. This is the default expected outcome if you don't know much about AWS and just follow the instructions in the Micronaut Guide and AWS tutorials.
Steps To Reproduce
- Follow the Micronaut Guide and get it to the point where a test JSON submission works.
- Try to invoke it via an API Gateway endpoint so the function can be run from the internet.
- It dies with a NullPointerException.
Environment Information
No response
Example Application
No response
Version
4.9.3
Metadata
Metadata
Assignees
Labels
No labels