# dbt run fails during tutorial with "Database '"\`DBT-TUTORIAL\`"' does not exist or not authorized." error

**URL:** <https://discourse.getdbt.com/t/dbt-run-fails-during-tutorial-with-database-dbt-tutorial-does-not-exist-or-not-authorized-error/12318>\
**Category:** Help\
**Created:** [March 5, 2024, 9:48am UTC](https://discourse.getdbt.com/t/dbt-run-fails-during-tutorial-with-database-dbt-tutorial-does-not-exist-or-not-authorized-error/12318 "2024-03-05T09:48:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lukas.Brausch](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/lukas.brausch/32/3723_2.png) [@Lukas.Brausch](https://discourse.getdbt.com/u/Lukas.Brausch)\
**Post date:** [March 5, 2024, 9:48am UTC](https://discourse.getdbt.com/t/dbt-run-fails-during-tutorial-with-database-dbt-tutorial-does-not-exist-or-not-authorized-error/12318/1 "2024-03-05T09:48:46Z")

</div>

Hello,

I’m new to dbt and currently trying to follow the Fundamentals course. Unfortunately, I’m currently having some issues with setting up the dbt cloud and Snowflake. I’ve already executed steps 1 to 6 but [step 7](https://docs.getdbt.com/guides/snowflake?step=7) of the tutorial currently fails for me. Whenever I try to execute the code mentioned there, I encounter the following message:

```auto
08:57:52 Opening a new connection, currently in state closed
08:57:53 Snowflake adapter: Snowflake query id: 01b2c7f9-0203-808f-0000-00024c0a60e1
08:57:53 Snowflake adapter: Snowflake error: 002003 (02000): SQL compilation error:
Database '"`DBT-TUTORIAL`"' does not exist or not authorized.
08:57:53 Timing info for model.my_new_project.customers (execute): 08:57:52.812139 => 08:57:53.800651
08:57:53 On model.my_new_project.customers: Close
08:57:54 Database Error in model customers (models/customers.sql)
  002003 (02000): SQL compilation error:
  Database '"`DBT-TUTORIAL`"' does not exist or not authorized.
  compiled Code at target/run/my_new_project/models/customers.sql
08:57:54 1 of 3 ERROR creating sql view model dbt_lbrausch.customers .................... [ERROR in 1.24s]
08:57:54 Finished running node model.my_new_project.customers

```

There is already a [similar topic](https://discourse.getdbt.com/t/database-raw-does-not-exist-or-not-authorized/8515) but as there were no replies, I decided to open a new topic.

Any help would be highly appreciated. Thank you very much.

---

<div class="post-metadata">

**Author:** ![Lukas.Brausch](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/lukas.brausch/32/3723_2.png) [@Lukas.Brausch](https://discourse.getdbt.com/u/Lukas.Brausch)\
**Post date:** [March 8, 2024, 8:31am UTC](https://discourse.getdbt.com/t/dbt-run-fails-during-tutorial-with-database-dbt-tutorial-does-not-exist-or-not-authorized-error/12318/2 "2024-03-08T08:31:36Z")

</div>

This is no longer an issue. Thanks to the great dbt support, I was able to solve this. The issue was that the official tutorial included an error that is already [fixed](https://docs.getdbt.com/guides/snowflake?step=7).

Thanks again for the great support! 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/getdbt/original/1X/a7a7ca1fe379aaf90952b0e13118a817babcd14f.png) [@system](https://discourse.getdbt.com/u/system)\
**Post date:** [March 15, 2024, 8:32am UTC](https://discourse.getdbt.com/t/dbt-run-fails-during-tutorial-with-database-dbt-tutorial-does-not-exist-or-not-authorized-error/12318/3 "2024-03-15T08:32:12Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
