# Snapshots must be configured with a 'strategy', 'unique\_key', and 'target\_schema'.

**URL:** <https://discourse.getdbt.com/t/snapshots-must-be-configured-with-a-strategy-unique-key-and-target-schema/12266>\
**Category:** Help\
**Created:** [February 29, 2024, 3:19pm UTC](https://discourse.getdbt.com/t/snapshots-must-be-configured-with-a-strategy-unique-key-and-target-schema/12266 "2024-02-29T15:19:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ksabi09](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/ksabi09/32/3719_2.png) [@ksabi09](https://discourse.getdbt.com/u/ksabi09)\
**Post date:** [February 29, 2024, 3:19pm UTC](https://discourse.getdbt.com/t/snapshots-must-be-configured-with-a-strategy-unique-key-and-target-schema/12266/1 "2024-02-29T15:19:20Z")

</div>

Hi Team,  
I am new to dbt. I am following a course. While doing this, I ran a script for snapshot,

{% snapshot scd\_dim\_listings %}

{{  
config(  
target\_schema=‘snapshot’,  
unique\_key=‘ID’,

```
    stategy='timestamp',
    updated_at='UPDATED_AT'
)

```

}}

select\*from {{ source(‘airbnb’, ‘listing’) }}

{% endsnapshot %}

After this when I run dbt snapshot I am getting  
“Parsing Error  
at path : Snapshots must be configured with a ‘strategy’, ‘unique\_key’, and ‘target\_schema’.”

Could you please help me and let me know why this error I am getting

---

<div class="post-metadata">

**Author:** ![a\_slack\_user](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/a_slack_user/32/1629_2.png) [@a\_slack\_user](https://discourse.getdbt.com/u/a_slack_user)\
**Post date:** [February 29, 2024, 3:47pm UTC](https://discourse.getdbt.com/t/snapshots-must-be-configured-with-a-strategy-unique-key-and-target-schema/12266/2 "2024-02-29T15:47:12Z")

</div>

there is a typo: it’s _`strategy`_ not `stategy`

Note: `@thais.bittencourt385` originally [posted this reply in Slack](https://getdbt.slack.com/archives/CBSQTAPLG/p1709221623894639?thread_ts=1709219985.347719&cid=CBSQTAPLG). It might not have transferred perfectly.

---

<div class="post-metadata">

**Author:** ![ksabi09](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/ksabi09/32/3719_2.png) [@ksabi09](https://discourse.getdbt.com/u/ksabi09)\
**Post date:** [February 29, 2024, 3:56pm UTC](https://discourse.getdbt.com/t/snapshots-must-be-configured-with-a-strategy-unique-key-and-target-schema/12266/3 "2024-02-29T15:56:11Z")

</div>

🥲 I missed this, thanks

---

<div class="post-metadata">

**Author:** ![a\_slack\_user](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/a_slack_user/32/1629_2.png) [@a\_slack\_user](https://discourse.getdbt.com/u/a_slack_user)\
**Post date:** [February 29, 2024, 4:05pm UTC](https://discourse.getdbt.com/t/snapshots-must-be-configured-with-a-strategy-unique-key-and-target-schema/12266/4 "2024-02-29T16:05:47Z")

</div>

Anytime! Fresh eye never hurts 🙂

Note: `@thais.bittencourt385` originally [posted this reply in Slack](https://getdbt.slack.com/archives/CBSQTAPLG/p1709222740071939?thread_ts=1709219985.347719&cid=CBSQTAPLG). It might not have transferred perfectly.
