cancel
Showing results for 
Search instead for 
Did you mean: 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results for 
Search instead for 
Did you mean: 

UCX installation error

unity_Catalog
New Contributor III

I am getting the below error while Installing UCX. But Installation is done in the workspace.I have admin privileges on the workspace. The below error suggests to check token or URL of workspace.They are provided correctly.Then why below error is showing.


Traceback (most recent call last):
  File "C:\databricks\labs\ucx\lib\src\databricks\labs\ucx\install.py", line 831, in <module>
    account_installer.join_collection(
  File "C:\.databricks\labs\ucx\lib\src\databricks\labs\ucx\install.py", line 695, in join_collection
    ids_to_workspace = self._get_workspace_info(current_workspace_id)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\databricks\labs\ucx\lib\src\databricks\labs\ucx\install.py", line 678, in _get_workspace_info
    workspace = account_client.workspaces.get(current_workspace_id)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\.databricks\labs\ucx\state\venv\Lib\site-packages\databricks\sdk\service\provisioning.py", line 2626, in get
    res = self._api.do('GET',
          ^^^^^^^^^^^^^^^^^^^
  File "C:\.databricks\labs\ucx\state\venv\Lib\site-packages\databricks\sdk\core.py", line 131, in do
    response = retryable(self._perform)(method,
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\.databricks\labs\ucx\state\venv\Lib\site-packages\databricks\sdk\retries.py", line 54, in wrapper
    raise err
  File "C:\databricks\labs\ucx\state\venv\Lib\site-packages\databricks\sdk\retries.py", line 33, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\.databricks\labs\ucx\state\venv\Lib\site-packages\databricks\sdk\core.py", line 242, in _perform
    raise self._make_nicer_error(response=response, **payload) from None
databricks.sdk.errors.platform.Unauthenticated: Cannot complete request; user is unauthenticated. Config: host=https://***********, account_id=*********, token=***, databricks_cli_path=C:\AppData\Local\Microsoft\WinGet\Packages\Databricks.DatabricksCLI_Microsoft.Winget.Source_8wekyb3d8bbwe\databricks.exe, auth_type=pat. Env: DATABRICKS_HOST, DATABRICKS_TOKEN, DATABRICKS_CLI_PATH
Error: installer: exit status 1

0 REPLIES 0

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group