> ## Documentation Index
> Fetch the complete documentation index at: https://docs.open-metadata.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Unity Catalog Connector Troubleshooting

> Resolve Unity Catalog connector issues quickly with OpenMetadata'scomprehensive troubleshooting guide. Fix common errors, configuration problems, and c...

## Troubleshooting

## Workflow Deployment Error

If there were any errors during the workflow deployment process, the
Ingestion Pipeline Entity will still be created, but no workflow will be
present in the Ingestion container.

* You can then Edit the Ingestion Pipeline and **Deploy** it again.
* From the Connection tab, you can also Edit the Service if needed.

## Connector Debug Troubleshooting

This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in OpenMetadata. Below are some of the most frequently observed troubleshooting scenarios.

## How to Enable Debug Logging for Any Ingestion

To enable debug logging for any ingestion workflow in OpenMetadata:

1. **Navigate to Services**
   Go to **Settings > Services > Service Type** (e.g., Database) in the OpenMetadata UI.

2. **Select a Service**
   Choose the specific service for which you want to enable debug logging.

3. **Access Ingestion Tab**
   Go to the **Ingestion tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit.

4. **Enable Debug Logging**
   In the configuration dialog, enable the **Debug Log** option and click **Next**.

5. **Schedule and Submit**
   Configure the schedule if needed and click **Submit** to apply the changes.

## Permission Issues

If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions.

## Unity Catalog connection details

```
source:
  type: unitycatalog
  serviceName: local_unity_catalog
  serviceConnection:
    config:
      catalog: hive_metastore
      databaseSchema: default
      token: <databricks token>
      hostPort: localhost:443
      connectionArguments:
        http_path: <http path of databricks cluster>
  sourceConfig:
    config:
      type: DatabaseMetadata
sink:
  type: metadata-rest
  config: {}
workflowConfig:
  openMetadataServerConfig:
    hostPort: http://localhost:8585/api
    authProvider: no-auth
```

Here are the steps to get `hostPort`, `token` and `http_path`.

First login to Azure Databricks and from side bar select SQL Warehouse (In SQL section)

<img src="https://mintcdn.com/openmetadata/9G75p72jJKYgvFUQ/public/images/connectors/unitycatalog/select-sql-warehouse.png?fit=max&auto=format&n=9G75p72jJKYgvFUQ&q=85&s=a4334955c8fdb7df34f20e3f60f69b42" alt="Select Sql Warehouse" width="1848" height="1358" data-path="public/images/connectors/unitycatalog/select-sql-warehouse.png" />

Now click on sql Warehouse from the SQL Warehouses list.

<img src="https://mintcdn.com/openmetadata/9G75p72jJKYgvFUQ/public/images/connectors/unitycatalog/Open-sql-warehouse.png?fit=max&auto=format&n=9G75p72jJKYgvFUQ&q=85&s=6b69d9d6a8965fc3911e77c3f0bb13cf" alt="Open Sql Warehouse" width="1420" height="1402" data-path="public/images/connectors/unitycatalog/Open-sql-warehouse.png" />

Now inside that page go to Connection details section.
In this page Server hostname and Port is your `hostPort`, HTTP path is your `http_path`.

<img src="https://mintcdn.com/openmetadata/9G75p72jJKYgvFUQ/public/images/connectors/unitycatalog/Connection-details.png?fit=max&auto=format&n=9G75p72jJKYgvFUQ&q=85&s=aa365b7a8684993b95a327756c57af7d" alt="Connection details" width="2860" height="1338" data-path="public/images/connectors/unitycatalog/Connection-details.png" />

In Connection details section page click on Create a personal access token.

<img src="https://mintcdn.com/openmetadata/9G75p72jJKYgvFUQ/public/images/connectors/unitycatalog/Open-create-token-page.png?fit=max&auto=format&n=9G75p72jJKYgvFUQ&q=85&s=f11f91f05271e218de0fb7685b28b75f" alt="Open create token" width="2860" height="1338" data-path="public/images/connectors/unitycatalog/Open-create-token-page.png" />

Now In this page you can create new `token`.

<img src="https://mintcdn.com/openmetadata/9G75p72jJKYgvFUQ/public/images/connectors/unitycatalog/Generate-token.png?fit=max&auto=format&n=9G75p72jJKYgvFUQ&q=85&s=45ab06240bf14585e385e1e4baa64147" alt="Generate token" width="2748" height="1068" data-path="public/images/connectors/unitycatalog/Generate-token.png" />

## Missing Tables or Lineage in Databricks (Unity Catalog) Ingestion

### Symptoms

* Some schemas or tables that match the configured filter are not
  visible after ingestion.
* Lineage is missing or incomplete for expected tables.
* Schemas are visible, but no tables appear under them.

### Common Causes

* The Personal Access Token (PAT) used by the Metadata Agent lacks
  required Unity Catalog permissions.
* The user can list catalogs or schemas but does not have SELECT
  access on tables.
* Required access to `system.query.history` is missing, preventing
  lineage generation.

### What to Check

* Ensure the PAT user has:
  * Permission to use the target catalog.
  * Permission to use the target schemas.
  * SELECT permission on all tables that should be ingested.
  * Access to the `system.query` schema and `system.query.history`
    for lineage.
* Confirm that metadata ingestion has completed successfully after
  permission changes.
* Remember that lineage is generated only between ingested entities;
  if a table is not ingested, its lineage connections will not appear.
