Skip to content

HTTP request payload and response body not captured in error events #5339

@dalnoki

Description

@dalnoki

Integration

sentry-android

Build System

Gradle

AGP Version

Proguard

Enabled

Other Error Monitoring Solution

No

Version

8.27.0 and 8.39.1

Steps to Reproduce

HTTP POST request payloads and server response bodies are no longer appearing in Sentry error events for failed HTTP requests. This data was previously visible and stopped showing up around SDK version 8.27.0. Upgrading to 8.39.1 did not resolve the issue. For additional details, please check the Linear ticket.

Expected Result

Failed HTTP requests should include the POST request body/payload and the server response body

Actual Result

Request payload and response body are absent from captured error events.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions