Error: Execution Failure. Failed to Access dbt_project.yml
Issue
While compiling a project, the following error appears:
Execution failure. Failed to access dbt_project.yml
Environment
Transformations for dbt Core
Resolution
To resolve this issue, ensure the dbt_project.yml
file is at the root of your repository rather than in a folder. If that's not possible, you can specify the file path to the dbt_project.yml
file in your project by doing the following:
- In Fivetran, click Transformations.
- Click Manage projects in the top-right corner.
- Click the project.
- On the dbt Transformations page, set the Show advanced options toggle to ON.
- In the Project path (optional) field, enter the path to the
dbt_project.yml
file. - Click Save & Test.
- After the tests have passed, click Done.
Cause
This error occurs when Transformations for dbt Core either can't access the dbt_project.yml
file in the dbt project folder or the file is missing. By default, Transformations for dbt Core attempts to locate the dbt_project.yml
file at the root of the project directory or repository.