Hi everyone! :dagster-yay: I am trying to launch d...
# ask-community
Hi everyone! dagster yay I am trying to launch dagster with a dbt project but I keep receiving this error:
dagster_dbt.errors.DagsterDbtCliFatalRuntimeError: Fatal error in the dbt CLI (return code 2): Encountered an error while reading the project: ERROR: Runtime Error Could not find profile named 'test_replatform' Encountered an error: Runtime Error Could not run dbt.
I have manually exported both the DBT_PROFILES_DIR and the DBT_PROJECT_DIR, and if I launch the dbt project it works perfectly. Why Dagster can't find the profile? 🤨
❤️ 1
@rex- any guess at what's going on here?
Hey Lorenzo, we have a dbt channel here: #dagster-dbt
This looks like an issue of: https://dagster.slack.com/archives/C04CW71AGBW/p1670446321860639?thread_ts=1670408199.663209&cid=C04CW71AGBW you should make sure that your profiles path is what you expect, before passing it off to Dagster. Our guide on this is here: https://docs.dagster.io/integrations/dbt/using-dbt-with-dagster/part-two#step-1-load-the-dbt-models-as-assets