AttributeError: 'NoneType' object has no attribute 'get'
File "posthog/tasks/exports/csv_exporter.py", line 383, in export_tabular
_export_to_excel(exported_asset, limit)
File "posthog/tasks/exports/csv_exporter.py", line 329, in _export_to_excel
renderer, all_csv_rows, render_context = _export_to_dict(exported_asset, limit)
File "posthog/tasks/exports/csv_exporter.py", line 296, in _export_to_dict
all_csv_rows = list(returned_rows)
File "posthog/tasks/exports/csv_exporter.py", line 281, in get_from_hogql_query
yield from _convert_response_to_csv_data(query_response)
File "posthog/tasks/exports/csv_exporter.py", line 176, in _convert_response_to_csv_data
if item.get("action", {}).get("custom_name"):
In the Trends response, one of the action fields in the series is null, so it crashes.
Bug Description
Sentry Issue: POSTHOG-VJC
In the Trends response, one of the action fields in the series is
null
, so it crashes.Additional Context
Support Ticket