diff --git a/airflow/www/views.py b/airflow/www/views.py index 8496daaa58b6c..033e2c2bf604b 100644 --- a/airflow/www/views.py +++ b/airflow/www/views.py @@ -1526,7 +1526,7 @@ def trigger(self, session=None): if request_conf: try: run_conf = json.loads(request_conf) - if not isinstance(conf, dict): + if not isinstance(run_conf, dict): flash("Invalid JSON configuration, must be a dict", "error") return self.render_template( 'airflow/trigger.html', dag_id=dag_id, origin=origin, conf=request_conf