diff --git a/superset/reports/commands/execute.py b/superset/reports/commands/execute.py index cc7222e302..2ce1346ed6 100644 --- a/superset/reports/commands/execute.py +++ b/superset/reports/commands/execute.py @@ -142,9 +142,9 @@ class BaseReportState: if self._report_schedule.chart: if csv: return get_url_path( - "Superset.explore_json", - csv="true", - form_data=json.dumps({"slice_id": self._report_schedule.chart_id}), + "ChartRestApi.get_data", + pk=self._report_schedule.chart_id, + format="csv", ) return get_url_path( "Superset.slice",