Skip to content

Bug: Profile page shows events from other profiles #317

@stoicamarcus

Description

@stoicamarcus

Description

When viewing a user's profile in the dashboard, scrolling through their events reveals events that belong to other users/profiles.

Steps to reproduce

  1. Go to a profile page (e.g., Profile A)
  2. Scroll down through the events list
  3. Events from Profile B appear mixed in with Profile A's events

Expected behavior

A profile page should only show events associated with that specific profile.

Actual behavior

Events from unrelated profiles appear under the wrong profile. The affected profiles have:

  • Different device IDs (confirmed — not the same device)
  • Different users on different devices (working from home, no shared computers)
  • Same project (ops)
  • Same browser/OS (Chrome 146, Windows 10)
  • Same country (Germany), but different cities/IPs

Additional context

We're using the Next.js SDK (@openpanel/nextjs v1.3.0) with a self-hosted proxy route (/api/op using createRouteHandler()). We call identify() with profileId, email, firstName, and lastName after authentication.

Since the deviceId is generated server-side via hash(userAgent + IP + origin + dailySalt), we initially suspected a hash collision, but the deviceIds are different for the affected users. This appears to be a data/query issue on the dashboard or ingestion side.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions