PostHog / posthog

🦔 PostHog provides open-source web & product analytics, session recording, feature flagging and A/B testing that you can self-host. Get started - free.
https://posthog.com
Other
22.33k stars 1.35k forks source link

bug: events are not showing up in any dropdown or searches #26531

Open tanmoysrt opened 2 days ago

tanmoysrt commented 2 days ago

Bug Description

We have a self-hosted posthog instance (PostHog Git SHA - 5adf41e8b8). In activity pages, we can see the incoming events and event types as well.

But while creating insights in dashboard, the dropdown to select event is blank. It's happenning on the activity page's Select an event dropdown as well.

How to reproduce

  1. Go to dashboard
  2. Try to create an insight
  3. In the event selection dropdown it's showing up no events

    Screenshot 2024-11-29 at 10 49 35 AM

Additional context

  1. In our posthog instance, there are already various events, checked in data warehouse and in activity page (/project/1/activity/explore)

    Screenshot 2024-11-29 at 10 51 30 AM

  2. We have checked the API call as well, it returning blank results Request -

    https://<posthog_instance>/api/projects/1/event_definitions?event_type=event&search=&limit=100&offset=0

    Response -

    {
     "count": 0,
     "next": null,
     "previous": null,
     "results": []
    }

Debug info

kenz16 commented 2 days ago

I face the same problem. and still struggling how to solve the issue.. please help us posthog team Thanks in advance

Screenshot 2024-11-29 at 19 22 20