Airflow Error: jinja2.exceptions.templatenotfound

Error: jinja2.exceptions.templatenotfound

Sometimes you may face this error on loading Airflow while calling shell script in DAG. This is because Airflow tries to apply a Jinja template to it, which will fail.

This error is a known bug in airflow.

This can be solved by adding a space after the script name when directly calling a Bash script in DAG.

That's all…

Leave a Reply

Your email address will not be published. Required fields are marked *