Skip to content

AWS Lambda Integration Not Logging Payload #4011

@paulthorburn

Description

@paulthorburn

How do you use Sentry?

Sentry Saas (sentry.io)

Version

2.20.0

Steps to Reproduce

According to this document https://docs.sentry.io/platforms/python/integrations/aws-lambda/manual-instrumentation/

Request data including HTTP method, URL, headers, form data, and JSON payloads will be attached to all events.

but i have run several tests and the payload is not being caputred

Overview:
Step 1 - Create a Lambda Function
Step 2 - Send events from different sources

TEST 1: AWS Console

  • Create Lambda, Hit Test button
    Image

TEST 2: API Gateway

  • Create Lambda, Create API Gateway, Create Proxy Integration Between API Gateway and Lambda
  • Send a POST request to API Gateway
    Image

TEST 3: Lambda Function URL

  • Create Lambda, go to Configuration, go to Lambda URL and enable
  • Make a POST request to the Function URL
    Image

Test 4: S3 Event Notification

  • Create Lambda, Create S3 Bucket
  • In S3 bucket under Event notifications point it to the Lambda
  • Upload File to S3 Bucket
    Image

Test 5: Event Bridge Notifications

  • Create Lambda, Create S3 Bucket
  • In S3 bucket under Amazon EventBridge click enable
  • In EventBridge under the "default" event bus create a 'Rule' that takes S3 events and forwards it to a Lambda
    Image

Expected Result

JSON Body\payload of the events in sentry console

Actual Result

JSON Body\payload of the events is missing in sentry console

Metadata

Metadata

Assignees

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions