sentry-react-native: Unknown UserID in uppercase

Environment

How do you use Sentry? Sentry SaaS

Which SDK and version? “@sentry/react-native”: “^2.6.0”,

Hello!

I’m identifying my users by calling Sentry.setUser({ id }); in the app. With some events everything works and I see IDs there, but with others I see a weird uppercased IDs which I couldn’t have passed.

Where are these IDs coming from, how to fix that?

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 20 (13 by maintainers)

Most upvoted comments

@ayubov thanks for confirming, as I don’t know the structure of your id, I wanted to confirm, lets wait for @jennmueng

See docs.sentry.io/platforms/apple/enriching-events/identify-user

Since 6.0.1: Sentry will by fallback to installationId if you do not provide a user identity.

Do we do something similar on Android @marandaneto? I think we should add this info also to the identify-user docs of the hybrid SDKs.

yes, just fixed the Android wording https://github.com/getsentry/sentry-docs/pull/4200 since Secure.ANDROID_ID has been removed a while ago

@jennmueng please have a look at it then, if the id can be lost during serialization or something

@marandaneto I’ve checked, nope it can’t be anything except ID