Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

while running the dbt run command gets error

Tags:

dbt

connection to dbt and snowfalke was successful but when tried to run this command:

$ dbt run

it gives this error

ERROR: Runtime Error Could not find profile named 'learn_dbt' Encountered an error: Runtime Error Could not run dbt"

Am I making any command mistake?

like image 741
Ravi Avatar asked Mar 08 '26 18:03

Ravi


1 Answers

There are a few different approaches to solving to this problem:

  1. Check the profile key in your dbt_project.yml
  2. Check the profiles you have in your profiles.yml
  3. Run dbt debug --config-dir to check where dbt thinks your config file is.

See the dbt documentation here

like image 54
Thomas Dickson Avatar answered Mar 10 '26 16:03

Thomas Dickson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!