Low severitycompilation
Power BI Refresh Error:
DbtInvalidSelectorError
What does this error mean?
A dbt ls or dbt list command failed because the node selector expression is syntactically invalid or references a tag, model, or method that does not exist.
Common causes
- 1A typo in the selector expression (e.g., mode: instead of model:)
- 2Referencing a tag that does not exist in any model's config block
- 3Using an unsupported selector method for the installed dbt version
- 4Combining incompatible selector operators in the same expression
How to fix it
- 1Step 1: Run dbt ls --select 'your_selector' and read the full error message — it usually identifies the invalid component.
- 2Step 2: Verify selector syntax in the dbt docs: methods are model:, tag:, source:, path:, config:, etc.
- 3Step 3: Confirm the tag or config value exists in at least one model's YAML config block.
- 4Step 4: Use dbt ls without a selector first to confirm the project parses correctly.
- 5Step 5: Upgrade dbt if using a recently added selector method not available in the current version.