# ask-ai

Shane Kalepp

03/01/2024, 4:27 PM
What does this error mean when running dagster locally? dagster_dbt.errors.DagsterDbtCliRuntimeError: The dbt CLI process failed with exit code 1. Check the stdout in the Dagster compute logs for the full information about the error.


03/01/2024, 4:27 PM
The error
indicates that there was an issue while executing a dbt CLI command within a Dagster pipeline. Specifically, the dbt CLI process exited with a return code of 1, which generally signifies that there was an error during the execution of the dbt command. When you encounter this error, it's important to check the standard output (stdout) in the Dagster compute logs for more detailed information about what went wrong. The compute logs will contain the output from the dbt CLI, which should give you insights into the specific error that dbt encountered. To resolve this issue, you should: 1. Review the Dagster compute logs to find the dbt CLI output. 2. Look for any error messages or stack traces in the dbt CLI output that indicate what caused the failure. 3. Address the underlying issue in your dbt project or Dagster pipeline configuration based on the information found in the logs. Remember that the exit code 1 from dbt CLI is a general error code, and the actual cause of the error can vary widely, from syntax errors in dbt models to configuration issues or problems with the data sources dbt is trying to access.