Skip to content

Action not existing is not handled in the funnel query #5026

@sentry-io

Description

@sentry-io

Sentry Issue: POSTHOG-35Z

Action.DoesNotExist: Action matching query does not exist.
(5 additional frame(s) were not displayed)
...
  File "ee/clickhouse/queries/funnels/base.py", line 83, in _exec_query
    steps = [self._build_step_query(entity, index, "events") for index, entity in enumerate(self._filter.entities)]
  File "ee/clickhouse/queries/funnels/base.py", line 83, in <listcomp>
    steps = [self._build_step_query(entity, index, "events") for index, entity in enumerate(self._filter.entities)]
  File "ee/clickhouse/queries/funnels/base.py", line 255, in _build_step_query
    action = Action.objects.get(pk=entity.id)
  File "django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "django/db/models/query.py", line 429, in get
    raise self.model.DoesNotExist(

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions