diff --git a/frontend/src/scenes/persons/personsLogic.tsx b/frontend/src/scenes/persons/personsLogic.tsx index 536ff6dfe2b34..7d92c0593eb54 100644 --- a/frontend/src/scenes/persons/personsLogic.tsx +++ b/frontend/src/scenes/persons/personsLogic.tsx @@ -102,6 +102,9 @@ export const personsLogic = kea([ { loadPerson: async ({ id }): Promise => { const response = await api.persons.list({ distinct_id: id }) + if (!response.results.length) { + return null + } const person = response.results[0] if (person) { actions.reportPersonDetailViewed(person)