New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Identifying User by username produces an Error #1107
Comments
This is in conflict with https://develop.sentry.dev/sdk/event-payloads/user/ which says that |
If it helps, I can verify that the |
Went ahead and created a PR in case it's determined that |
@ste93cry docs were not exhaustive enough, so they are not updated from:
to:
So |
Thank you for the report, and also for starting the fix 💪 |
According to the docs, one of
id
,username
,email
, orip_address
are required:https://docs.sentry.io/platforms/javascript/guides/react/enriching-events/identify-user/
However, including only a
username
produces an error due to this line:sentry-php/src/UserDataBag.php
Line 74 in 17588a2
The text was updated successfully, but these errors were encountered: