Skip to content

Identifying User by username produces an Error #1107

Description

@ahaurat

According to the docs, one of id, username, email, or ip_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:

if (!isset($data['id']) && !isset($data['ip_address'])) {

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions