-
Notifications
You must be signed in to change notification settings - Fork 571
Closed
Description
- Framework version: 0.9.1
- Implementations: Spring
Scenario
Pulling the requestId value from the request payload at: ((AwsProxyHttpServletRequest) request).getAwsProxyRequest().getRequestContext().getRequestId().
Expected behavior
The value of this should be the UUID that is generated from API gateway as described here under "Input Format of a Lambda Function for Proxy Integration" -> https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-lambda-proxy-integrations.html#api-gateway-simple-proxy-for-lambda-input-format
Actual behavior
Instead, the requestId in the requestContext of the response is returning a string constant of "test-invoke-request".
Steps to reproduce
Make a call to your lambda function through API gateway and read the value of requestId in the proxyRequest object.