API Gateway new (beta) http api

时间秒杀一切 提交于 2020-01-06 08:10:50

问题


I have created a sample HTTP API (which is currently in a beta release) using the API gateway. This API does not use any authentication and has a lambda as an integration. The route accepts any HTTP method and I have confirmed that the lambda has the proper API gateway permission. This permission was added when I created the API.

However, when I call the API I receive an HTTP status of 500 and a body of: {"message":"Internal Server Error"}.

This same lambda and API will work if I set it up as a REST API rather than an HTTP API.

Any ideas why this isn't working in the HTTP API?

来源:https://stackoverflow.com/questions/59584335/api-gateway-new-beta-http-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!