-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Description
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
Reported by a user using Android sdk, I reproduced using latest NextJs sdk.
User feedback events sent via the user feedback api do not have the correct environment tag applied, even though the event the feedback is attached to has the correct environment tag.
1. Follow docs on setting up User Feedback Api
2. Set Env tag in init.
3. Send event with user feedback
4. See that event in Sentry has correct env tag set, but user feedback has default "production" env tag set.
Feedback has production env tag -

Link to my org where I tested all three feedbacks to check the env tags.
Expected Result
Feedback should have the same environment tag as the event.
Actual Result
Feedback does not have the same environment tag.
The tags do get set properly when using the new User feedback widget, or the Crash Report Modal. Only the API seems to exhibit this behavior.
Metadata
Metadata
Assignees
Projects
Status
