# Error in profiles.yml file

**URL:** <https://discourse.getdbt.com/t/error-in-profiles-yml-file/18848>\
**Category:** Help\
**Created:** [March 28, 2025, 1:15pm UTC](https://discourse.getdbt.com/t/error-in-profiles-yml-file/18848 "2025-03-28T13:15:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ajju83](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@Ajju83](https://discourse.getdbt.com/u/Ajju83)\
**Post date:** [March 28, 2025, 1:15pm UTC](https://discourse.getdbt.com/t/error-in-profiles-yml-file/18848/1 "2025-03-28T13:15:19Z")

</div>

Hey Everyone,

I have installed dbt and using snowflake adapter. However I have a problem with my profiles.yml file.

Error message:

## 12:58:16 Encountered an error: Runtime Error Syntax error near line 7

4 | dev:  
5 | type: snowflake  
6 | account: [ANALYTICS]  
7 |  
8 | # User/password auth  
9 | user: [AJJU@TEST.ORG]  
10 | password: [Test]

## Raw Error:

while scanning for the next token  
found character that cannot start any token  
in “”, line 7, column 1

## Some example code or error messages

```auto
my-snowflake-db:
target: dev
outputs:
dev:
type: snowflake
account: [ANALYTICS]
user: [AJJU@TEST.ORG]
password: [Test]
role: [DEVELOPER]
database: [DEV]
warehouse: [XL_WH]
schema: [DI_TEST]
threads: [4]
client_session_keep_alive: False
#query_tag: [anything]

      # optional
      connect_retries: 0 # default 0
      connect_timeout: 10 # default: 10
      retry_on_database_errors: False # default: false
      retry_all: False # default: false
      reuse_connections: True # default: True if client_session_keep_alive is False, otherwise None

```

For some reason I think it is using my old profiles.yml file. Can someone help me with this.

Thanks,  
Ajju
