When I click on the preview button of a snapshot in the dbt cloud IDE, I get the following error:
Error while parsing node: inline_query
Encountered unknown tag 'snapshot'.
line 1
{% snapshot d_dummy_snapshot %}
The build of the snapshot works fine, but I cannot preview anything.
I was trying to create a macro and use that macro in my snapshot and this happened suddenly. The macro is working fine because I’m using it in the dimension and fact models. But when I added that to snapshots and try to preview one, it happened. But it shouldn’t be related to a specific branch, because I get this error even on other branches which don’t have any of these modifications or even the macro.
I couldn’t find any similar problem in the forum. It would be great if someone can help me with this.