I have created a Lambda function which I've configured as the 'custom auth' on the method request of one of my API endpoints. When I use the 'test' function of the AWS API Gateway I don't see any output from my Lambda function in the log output.
I have 'deployed' the API.
However something is happening because when I hit the api endpoint using the configured custom domain name I get
{"message":"Unauthorized"}
However if I remove the 'custom auth' from this endpoint and hit the same endpoint, it works !
I've enabled the cloudwatch logging and this seems to show that the lambda function is not invoked but there's nothing under the apiGateway log group either, but, something must be happening, I just can't see it.
Can anybody point me in the direction of how I debug this ?
A more detailed documentation on this can be found here.
Ritisha.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With