```dagster_dbt.errors.DagsterDbtCliRuntimeError: T...
# plugins-dbt
i
Copy code
dagster_dbt.errors.DagsterDbtCliRuntimeError: The dbt CLI process with command

`dbt build --select fqn:*`

failed with exit code `2`. Check the stdout in the Dagster compute logs for the full information about the error, or view the dbt debug log: /project/transform/target/dbt_project_assets-4a67f79-32186f0/dbt.log.

Errors parsed from dbt logs:

Encountered an error:
'dbt_<snowflake://macros/apply_grants.sql>'
I'm getting this error trying to materialize my dbt assets within dagster, has anyone run into this issue before? Can post the stack trace in the thread if needed Sidenote: I'm able to run the
meltano invoke dbt-snowflake:run
command successfully inside the container after doing a
docker exec -it <container> /bin/bash
a
Is that a custom macro? Do you have a similar issue any other custom macros?
Are you setting
DBT_PROJECT_PATH
when running via dagster? Can you share the .sql file here?
i
I don't believe it's a custom macro
Copy code
macro-paths:
- macros
I have this set in my dbt_project.yml located at transform/
Copy code
DBT_PROJECT_PATH = str(Path(__file__).parent.parent.parent / "transform")
I have this set when running via dagster