---
title: "Troubleshooting"
description: "Troubleshooting issues with Session Replay"
url: https://docs.sentry.io/platforms/android/session-replay/troubleshooting/
last_updated: 2026-12-02T17:51:14.000Z
---

# Session Replay Troubleshooting for Android

Why are parts of my replay not masked?

Session Replay masking is best effort. The SDK masks the components listed in [Supported Components](https://docs.sentry.io/platforms/android/session-replay/privacy.md#supported-components).

Components from third-party libraries, and custom views that draw their own content, aren't masked automatically. Mask them with [`addMaskViewClass`](https://docs.sentry.io/platforms/android/session-replay/privacy.md#mask-by-view-class) or `sentryReplayMask()`, or switch to the [Canvas screenshot strategy](https://docs.sentry.io/platforms/android/session-replay.md#screenshot-strategy). If a supported component isn't masked, open a [GitHub issue](https://github.com/getsentry/sentry-java/issues).

Does Session Replay work with Jetpack Compose?

Yes. Compose masking is best effort. The SDK masks the composables listed in [Supported Components](https://docs.sentry.io/platforms/android/session-replay/privacy.md#supported-components). Mask anything else, including content inside embedded Android views (`AndroidView`), with [`Modifier.sentryReplayMask()`](https://docs.sentry.io/platforms/android/session-replay/privacy.md#jetpack-compose).

What's the lowest version of Android supported?

Recording only happens on Android 8 (API level 26) or newer. For devices running an older version, SDK features other than recording work normally.

Why is my issue missing a replay?

An issue may be missing a replay because the user's device was [offline](https://docs.sentry.io/product/session-replay/mobile.md#frequently-asked-questions) while `sessionSampleRate` was specified, your project/organization was rate-limited, or (in rare cases) the device failed to capture the replay video.

Why can't I see the full HTTP request body or all the headers?

By default, Replay will capture basic information about all outgoing HTTP requests in your application. This includes the URL, request and response body size, method, and status code. The intention is to limit the chance of collecting private data. You can [configure the SDK to capture bodies and additional headers](https://docs.sentry.io/platforms/android/session-replay/configuration.md).

Another reason you might not see the body is that network details are only captured for OkHttp requests. If you've configured `networkDetailAllowUrls` and don't see request/response bodies or headers in your replays, verify that the request was made by the OkHttp stack.

OkHttp body and header extraction relies on [SentryOkHttpInterceptor](https://docs.sentry.io/platforms/android/integrations/okhttp.md) to instrument HTTP requests. The [Sentry gradle plugin](https://docs.sentry.io/platforms/android/configuration/gradle.md) automatically adds this, so it works out of the box. If you're not using the plugin, add the interceptor manually:

```java
OkHttpClient client = new OkHttpClient.Builder()
  .addInterceptor(new SentryOkHttpInterceptor())
  .build();
```

*Other available variations of the above snippet: Kotlin*

Also consider if the format is supported. We only capture text-based bodies, including JSON, XML, FormData, and similar data types. Any captured body will be truncated to 150k bytes. Bodies of byte, file, or media types are not captured.

---

Find other pages: [Sitemap](https://docs.sentry.io/sitemap.md) lists every page with a one-line summary, and [llms.txt](https://docs.sentry.io/llms.txt) gives an overview with guidance for agents.
