Skip to content

requestId always returns value "test-invoke-request" #125

@thallium205

Description

@thallium205
  • 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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions