data
build_error
ai_generated
true
Compilation Error: model depends on missing source
ID: data/dbt-model-compilation-error
82%Fix Rate
86%Confidence
3Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| any | active | — | — | — |
Root Cause
dbt model references undefined source or model.
genericWorkarounds
-
88% success Run dbt deps and verify sources.yml configuration
-
90% success Check model reference: {{ ref("model_name") }} spelling
Dead Ends
Common approaches that don't work:
-
Hardcode table names instead of ref()/source()
82% fail
Loses dbt lineage tracking
-
Create stub models
78% fail
Wrong data in downstream models