Skip to content

Recieving dict expected at most 1 argument, got 2 while trying to connect with custom domain #622

@colin-rogers-dbt

Description

@colin-rogers-dbt

Describe the bug

User unable to connect to warehouse even though they are getting a 200 response, error is dict expected at most 1 argument, got 2.

Steps To Reproduce

Still working to reproduce, this is tricky as I think this is because they are trying to use a custom domain

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots and log output

Databricks adapter: Error while retrieving information about `***`: Runtime Error
  Database Error
    Error during request to server

2024-03-15 17:29:40.894978 (ThreadPoolExecutor-0_2): 17:29:40  Databricks adapter: bounded-retry-delay: None

2024-03-15 17:29:40.896100 (ThreadPoolExecutor-0_2): 17:29:40  Databricks adapter: elapsed-seconds: 0.22683024406433105/900.0

2024-03-15 17:29:40.896999 (ThreadPoolExecutor-0_2): 17:29:40  Databricks adapter: error-message: 

2024-03-15 17:29:40.897463 (ThreadPoolExecutor-0_2): 17:29:40  Databricks adapter: http-code: 200

2024-03-15 17:29:40.897892 (ThreadPoolExecutor-0_2): 17:29:40  Databricks adapter: method: OpenSession

2024-03-15 17:29:40.898314 (ThreadPoolExecutor-0_2): 17:29:40  Databricks adapter: no-retry-reason: non-retryable error

2024-03-15 17:29:40.898744 (ThreadPoolExecutor-0_2): 17:29:40  Databricks adapter: original-exception: dict expected at most 1 argument, got 2

2024-03-15 17:29:40.899185 (ThreadPoolExecutor-0_2): 17:29:40  Databricks adapter: query-id: None

2024-03-15 17:29:40.899618 (ThreadPoolExecutor-0_2): 17:29:40  Databricks adapter: session-id: None

2024-03-15 17:29:40.900113 (ThreadPoolExecutor-0_2): 17:29:40  Databricks adapter: Error while running:
GetTables(database=***, schema=***, identifier=None)

System information

Tested with 1.6.9 and 1.7.9

The operating system you're using:

The output of python --version:

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions