Skip to content
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

API error thrown in People > Persons > Sessions By Day #3065

Closed
1 of 2 tasks
ghost opened this issue Jan 25, 2021 · 0 comments
Closed
1 of 2 tasks

API error thrown in People > Persons > Sessions By Day #3065

ghost opened this issue Jan 25, 2021 · 0 comments
Labels
bug Something isn't working right

Comments

@ghost
Copy link

ghost commented Jan 25, 2021

Bug description

Please describe.
If this affects the front-end, screenshots would be of great help.

Expected behavior

The Sessions By Day query should return an appropriate response without throwing an error.

How to reproduce

  1. Create a Default team
  2. Navigate to /demo so that the Demo team is created
  3. Navigate to People > Persons
  4. Click the Person representing your own user
  5. Open Sessions By Day tab, error thrown.

Environment

  • PostHog Cloud
  • self-hosted PostHog, version/commit: a978b28

Additional context

The stack trace shows the issue: posthog.models.person.Person.MultipleObjectsReturned: get() returned more than one Person -- it returned 2!

Thank you for your bug report – we love squashing them!

@ghost ghost added the bug Something isn't working right label Jan 25, 2021
@macobo macobo closed this as completed in 4f166eb Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working right
Projects
None yet
Development

No branches or pull requests

0 participants