Issue
I have a beforeSend hook that attaches some extra data to the event's context before sending. I have verified that the context is actually updated and even used debugger to verify that the serialized event that includes this data is being sent to Sentry. Yet when I look at the event in the dashboard that extra property is completely missing. What could be causing this?
Applies To
- All SaaS Customers
Symptoms
If we open that event's JSON and go to the debug_meta
section, we see that the context titled with the additional context's name was scrubbed due to strip-fields
.
Resolution
This happens due to the default server-side data scrubbing, which you can turn off in your organization's or project's Security & Privacy settings. You can also try adding this value into your project's Safe Fields.