Compilation Error Spike from Jinja/YAML Issues
warningreliabilityUpdated Feb 19, 2026
Detects increases in compilation errors related to invalid Jinja syntax, malformed YAML, or broken ref() functions that prevent dbt from building models.
Sources
Technologies:
How to detect:
Monitor for Compilation Errors in dbt logs, tracking frequency of specific error types like 'Invalid ref', 'Jinja syntax error', or 'YAML parse failed'. Alert when compilation error rate exceeds 5% of total runs.
Recommended action:
Review the specific file and line number in the error message. Validate Jinja syntax with log statements, check YAML indentation and structure, verify ref() and source() names match existing resources. Use dbt compile --debug for detailed error context.