# dbt configuration is invalid error in dbt\_project.yml file

**URL:** <https://discourse.getdbt.com/t/dbt-configuration-is-invalid-error-in-dbt-project-yml-file/14981>\
**Category:** Help\
**Tags:** dbt-core\
**Created:** [August 19, 2024, 3:41pm UTC](https://discourse.getdbt.com/t/dbt-configuration-is-invalid-error-in-dbt-project-yml-file/14981 "2024-08-19T15:41:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashley.pace1](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@ashley.pace1](https://discourse.getdbt.com/u/ashley.pace1)\
**Post date:** [August 19, 2024, 3:41pm UTC](https://discourse.getdbt.com/t/dbt-configuration-is-invalid-error-in-dbt-project-yml-file/14981/1 "2024-08-19T15:41:07Z")

</div>

In my dbt-core project, within the last week, my dbt\_project.yml file is showing up with an error that says **dbt configuration is invalid: a string or stream input is required**

I’m using Visual Studio Code for my IDE. Typically with my models I can hit CTRL+Enter to execute the SQL for the model. However, with this error from my project file, that no longer works.

My project file has not changed in a fair amount of time.

I can still run dbt run/build and it my models will build.

My entire dbt\_project file looks like this in VS Code:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/getdbt/original/2X/e/e64004c7da4268df231965af4431a12234a09fc8.png)

I’ve tried rebooting and restarting my project a few times but the issue still persists. Any ideas?

---

<div class="post-metadata">

**Author:** ![ashley.pace1](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@ashley.pace1](https://discourse.getdbt.com/u/ashley.pace1)\
**Post date:** [August 19, 2024, 4:59pm UTC](https://discourse.getdbt.com/t/dbt-configuration-is-invalid-error-in-dbt-project-yml-file/14981/2 "2024-08-19T16:59:20Z")

</div>

This was not a dbt issue, it is related to the VS Code Power User for dbt extension. Reverting to a prior version has fixed this issue for now.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/getdbt/original/1X/a7a7ca1fe379aaf90952b0e13118a817babcd14f.png) [@system](https://discourse.getdbt.com/u/system)\
**Post date:** [August 26, 2024, 4:59pm UTC](https://discourse.getdbt.com/t/dbt-configuration-is-invalid-error-in-dbt-project-yml-file/14981/3 "2024-08-26T16:59:41Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
