High severitydbt
Power BI Refresh Error:
Runtime Error: Could not find profile
What does this error mean?
Dbt cannot locate the connection profile needed to connect to the data warehouse. The profiles.yml file is missing or does not define the referenced profile.
Common causes
- 1Profiles.yml does not exist at ~/.dbt/profiles.yml
- 2The profile name in profiles.yml does not match the profile value in dbt_project.yml
- 3The --profiles-dir flag points to a directory without profiles.yml
How to fix it
- 1Verify that profiles.yml exists at ~/.dbt/profiles.yml or at the location specified by the --profiles-dir flag.
- 2Confirm the profile name in profiles.yml matches the profile value in dbt_project.yml.
- 3In dbt Cloud, check that the environment credentials are configured — dbt Cloud manages profiles automatically.
- 4Run `dbt debug` to see the resolved profile path and any configuration issues.
Frequently asked questions
Official documentation: https://docs.getdbt.com/guides/debug-errors