dbt Labs dbt-Analytics-Engineering Question Answer
You define a new generic test on model customers in a YAML file:
version: 2
models:
- name: customers
columns:
- name: customer_id
tests:
- unique
- not_null
The next time your project compiles you get this error:
Raw Error:
mapping values are not allowed in this context
in "
What is the cause of this error?
dbt Labs dbt-Analytics-Engineering Summary
- Vendor: dbt Labs
- Product: dbt-Analytics-Engineering
- Update on: Feb 8, 2026
- Questions: 65

