Skip to content

Commit 8b86428

Browse files
authored
fix(java): mention that send-default-pii must be enabled for HTTP request bodies to be captured (#12799)
* fix(java): mention that send-default-pii must be enabled for HTTP request bodies to be captured * change wording * use PlatformLink instead of hardcoded link
1 parent b68ec31 commit 8b86428

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/platforms/java/common/configuration/options.mdx

+3
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ This parameter controls whether integrations should capture HTTP request bodies.
143143
- `medium`: Medium and small requests will be captured (typically 10KB).
144144
- `always`: The SDK will always capture the request body as long as Sentry can make sense of it.
145145

146+
For request bodies to be captured, the <PlatformIdentifier name="send-default-pii" /> flag must also be enabled.
147+
Please consult the <PlatformLink to="/configuration/options/#send-default-pii">documentation for <PlatformIdentifier name="send-default-pii" /></PlatformLink> to evaluate whether you would want to enable it, making sure to manually remove the data you don't want to send using our features for <PlatformLink to="/data-management/sensitive-data">managing Sensitive Data</PlatformLink>.
148+
146149
</ConfigKey>
147150

148151
<ConfigKey name="enabled">

0 commit comments

Comments
 (0)