Medium severityconfiguration
Power BI Refresh Error:
ModelConfigError
What does this error mean?
A dbt model has an invalid configuration — either in its config() block, in schema.yml, or in dbt_project.yml. dbt cannot compile or run the model.
Common causes
- 1An unrecognized materialization type (e.g., a typo in materialized='tabel')
- 2An invalid partition_by or cluster_by configuration for the target warehouse
- 3An invalid tags value (must be a string or list of strings)
- 4A post-hook or pre-hook that contains invalid SQL
- 5An invalid contract configuration (enforce: true without column definitions)
How to fix it
- 1Read the error message — dbt usually names the specific model and configuration key that is invalid
- 2Check the config() block in the model SQL file for typos
- 3Verify the configuration key is supported for the adapter being used (BigQuery, Snowflake, Databricks, etc.)
- 4Run dbt compile --select <model> to validate the model configuration without executing
- 5Check the dbt documentation for the valid values for the configuration key