0

I have created an API Gateway linked to a (tested and working) Lambda function.

I get a

{"message":"Internal Server Error"}

when I try to access to it, but I have no logs about it, even creating and attaching a log stream.

How can I have a more precise error?

GlinesMome
  • 199
  • 2
  • 11
  • Did you set up the proxy for the integration? https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-lambda-proxy-integrations.html#api-gateway-set-up-lambda-proxy-integration-on-proxy-resource – strongjz Sep 26 '20 at 02:05
  • I use an HTTP API, so I cannot setup a proxy. – GlinesMome Sep 26 '20 at 14:03

1 Answers1

1

Do a trace using X-Ray and you can see where along the path it is failing. https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-using-xray-maps.html

dellyjm
  • 126
  • 2