-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Typo in Properties for Api in template is not handled with 4xx error #766
Comments
Was able to reproduce this issue. Transform error when Method isn't present due to misspelling:
The issue is that the implicit API plugin is assuming the Method property is there: We need to patch implicit_api_plugin.py to be more defensive. Should use get() instead of assuming property keys are present. |
3 tasks
Released with SAM v1.11.0! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
Template with a typo in template is not handled as expected. Under Properties of an api event, use "methid" instead of "method". Get 5xx error.
Steps to reproduce the issue:
Observed result:
Get a 5xx error
Expected result:
Should be handled as a 4xx with error message
The text was updated successfully, but these errors were encountered: