I use API Gateway proxy and Lambda integration.
The problem is Endpoint response. My Lambda function return this value.
{
"statusCode": 400,
"headers": {
"Content-Type": "application/json"
},
"body": "{\"error\":{\"code\":3,\"message\":\"secretKey is invalid\"}}"
}
But, below is API Gateway Method Test logs.
Wed Nov 23 08:01:52 UTC 2016 : Endpoint response body before transformations: {"statusCode":400}
need help.