Closed awoehrl closed 6 months ago
@awoehrl Hey! I also faced with this error - it happens usually when dbt-osmosis
faces with duplicated model.
Your dbt-osmosis
configuration sets a specific folder/files structure. When you generate YAML files, it places them according to your configuration path in your dbt_project.yml
. If you change folder structure and run osmosis again - it will probably output in such an error - when trying to create a doc that already exists, but in a different location.
When you change the file structure of you models, remember to:
dbt-osmosis
configuration need to be changed according to itTo resolve this error try to look into the model file at which exception appeared and check if there are any duplicated YAML model exists already for it.
Hi!
I'm regularly seeing the following error, when trying to run dbt-osmosis. I'm not quite sure, but I think this happens, when I change the folder structure of my models, after I already generated yaml files. When I run dbt-osmosis again, I will see the error from time to time: