Fixed: "Bundle 'dags-folder' path does not exist … This may cause DAG loading issues" in Apache Airflow®
The first start of Apache Airflow® in a new folder went fine until the Dag processor printed a warning: Bundle 'dags-folder' path does not exist, followed by Found 0 files. Nothing was broken yet, but Airflow had nowhere to look for Dags. The fix is one mkdir, and this post shows how I found that out.
What I Was Doing
I was setting up a new Airflow 3.4.0 project for a tutorial: a virtual environment, AIRFLOW_HOME pointing at the project folder, and then airflow standalone. I hadn't written a Dag yet, so the project had no dags folder.
What I Expected
Airflow to start and look for Dags in dags inside the project, finding none, without complaint.
What I Got
airflow standalone
dag-processor | 2026-12-01T03:21:02.581432Z [info ] DAG bundles loaded: dags-folder [airflow.dag_processing.bundles.manager.DagBundlesManager] loc=manager.py:344
dag-processor | 2026-12-01T03:21:02.587716Z [warning ] Bundle 'dags-folder' path does not exist: /Users/you/source/bundle-path/dags. This may cause DAG loading issues. [airflow.dag_processing.bundles.base] loc=base.py:349
dag-processor | 2026-12-01T03:21:02.588384Z [info ] Searching for Dag definitions in dags-folder at /Users/you/source/bundle-path/dags [airflow.dag_processing.manager.DagFileProcessorManager] loc=manager.py:1012
dag-processor | 2026-12-01T03:21:02.588598Z [info ] Found 0 files for bundle dags-folder (dag_discovery_safe_mode=True) [airflow.dag_processing.manager.DagFileProcessorManager] loc=manager.py:1033

The warning came once, when the Dag processor started. Every refresh after it logged Found 0 files.
What I Checked
Where Airflow looks for Dags. In Airflow 3, Dags come from bundles. The default one, dags-folder, reads the folder in the [core] dags_folder setting:
airflow config get-value core dags_folder
/Users/you/source/bundle-path/dags
That's the path in the warning. The setting's description in Airflow's configuration reference says it's "The folder where your airflow pipelines live", and its default is {AIRFLOW_HOME}/dags.
Whether the folder existed. It didn't: the project held only airflow.cfg, the database, logs and the password file, all created by Airflow on that first start.
What Airflow does about it. The warning comes from the start-up code of a bundle in Airflow 3.4.0 (airflow/dag_processing/bundles/base.py): if the bundle's path doesn't exist, it logs this warning and carries on. Nothing creates the folder.
Why It Happens
Airflow creates airflow.cfg, the database and logs in a new AIRFLOW_HOME on its own, but not dags. The Dag processor then reads a path that isn't there, warns, and finds no files. Any Dag you write has to be in that folder, so it has to exist.
The Fix
Stop Airflow with Ctrl+C. Create the folder:
mkdir dags
Put a Dag in it. A small one, dags/hello.py:
from airflow.sdk import dag, task
@dag(schedule=None)
def hello():
@task
def say_hello():
print("Hello from Airflow")
say_hello()
hello()
Then start Airflow again with airflow standalone.
After the Fix
dag-processor | 2026-12-01T03:21:57.042978Z [info ] Searching for Dag definitions in dags-folder at /Users/you/source/bundle-path/dags [airflow.dag_processing.manager.DagFileProcessorManager] loc=manager.py:1012
dag-processor | 2026-12-01T03:21:57.043488Z [info ] Found 1 files for bundle dags-folder (dag_discovery_safe_mode=True) [airflow.dag_processing.manager.DagFileProcessorManager] loc=manager.py:1033
...
dag-processor | 2026-12-01T03:21:58.874061Z [info ] Creating ORM DAG for hello [airflow.dag_processing.collection] loc=collection.py:104

No warning. The Dag processor found one file, and Creating ORM DAG for hello means it stored the hello Dag in the database, so it shows up in the UI.
Common Mistakes
| Mistake | What happens | Do this instead |
|---|---|---|
Creating dags in another folder | The warning stays: Airflow reads $AIRFLOW_HOME/dags | cd into your AIRFLOW_HOME first, or check the path in the warning |
Naming it dag | The path still doesn't exist | Use the exact path from the warning |
| Ignoring the warning | Dags you write later in the wrong place never appear | Create the folder the warning names |
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
Found 0 files with the folder in place | The folder is empty, or your Dag file is elsewhere | Put the .py file in the folder from the warning |
| The path in the warning isn't your project | AIRFLOW_HOME isn't set in this terminal | Export it, then start again |
FAQ
Is the warning harmful?
Not by itself: Airflow keeps running. It tells you Airflow can't load any Dags until the folder exists.
Can I keep my Dags somewhere else?
Yes: set [core] dags_folder to an absolute path. The warning then names that path if it doesn't exist.
Conclusion
Bundle 'dags-folder' path does not exist meant exactly that: [core] dags_folder pointed at dags in my AIRFLOW_HOME, which Airflow doesn't create. After mkdir dags and a Dag file in it, Airflow found the file and created the Dag, with no warning.
Additional Resources
- Dag bundles — how Airflow 3 finds Dag files.
- Configuration reference: dags_folder — the setting and its default.
Related
- How to Start Apache Airflow® on Your Computer with airflow standalone
- How to Set AIRFLOW_HOME for Apache Airflow®
- How to Write a Dag with the TaskFlow API in Apache Airflow®
Apache®, Apache Airflow and Airflow® are either registered trademarks or trademarks of The Apache Software Foundation in the United States and/or other countries. No endorsement by The Apache Software Foundation is implied by the use of these marks.
