Skip to content

[BUG] 'str' object has no attribute 'get' with externalbrowser authentication #1249

Closed
@javierpe27

Description

Is this a new bug in dbt-snowflake?

  • I believe this is a new bug in dbt-snowflake
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

Hello, I am facing an issue, all of a sudden i cannot run my dbt models on snowflake using dbt-snowflake 1.8.3 I keep getting this error. I first thought that the profiles file was the issue but i have been using the same profile for months so it cannot be, I use externalbrowser authentication with sso but it never gets to even open the browser, the profiles file is also being read from the right path when doing dbt debug any idea?

Dbt run:

16:41:59 Running with dbt=1.8.8

16:41:59 Registered adapter: snowflake=1.8.3

16:42:00 Unable to do partial parsing because profile has changed

16:42:02 Found 26 models, 1 seed, 10 sources, 749 macros

16:42:02

16:42:02

16:42:02 Finished running in 0 hours 0 minutes and 0.02 seconds (0.02s).

16:42:02 Encountered an error:

Runtime Error

Database error while listing schemas in database "T"

Database Error

'str' object has no attribute 'get'

Expected Behavior

Open the browser and login, however the browser is not being opened

Steps To Reproduce

OS: windows 10 with Wsl
dbt=1.8.8
adapter: snowflake=1.8.3
Python:3.10

Relevant log output

No response

Environment

- OS:
- Python:
- dbt-core:
- dbt-snowflake:

Additional Context

No response

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions