FabricFabric
Databricks

Troubleshooting

Common Databricks integration errors and fixes — authentication, discovery, harness, Mosaic AI, Genie, Vector Search, and Unity Catalog.

Common issues

IssueFix
401 UnauthorizedPAT is invalid or expired. Generate a new token.
403 ForbiddenInsufficient privileges. Check UC grants and workspace permissions. For discovery, ensure BROWSE + USE CATALOG are granted.
403 on api/2.1/unity-catalog/catalogsMissing BROWSE or USE CATALOG on Unity Catalog. Grant both to the principal or user.
invalid_client (OAuth)Verify client ID and secret belong to an active service principal (M2M), or that the OAuth app is active (U2M).
workspace not foundEnsure baseUrl matches your Databricks workspace URL exactly.
fh not foundInstall the Fabric Harness CLI and ensure fh is on your PATH.
Live run refuses to executeSet the live gate: export FABRIC_DATABRICKS_TEST=1. Mock runs (--mock) never require it.
Source test failsCheck connectionError in config.json. Verify network and URL.
U2M browser does not openCheck that your system default browser is configured and that localhost is not blocked by a firewall.
Mosaic AI 404 on serving endpointVerify the endpoint name and that the endpoint is in READY state.
Mosaic AI 403 on serving endpointThe PAT or service principal needs CAN QUERY on the serving endpoint. Grant in ML → Serving → Permissions.
AI Gateway 429 rate limitedIncrease the rate limit in the AI Gateway route, or add retry logic.
Genie MCP server not foundEnsure the Genie MCP binary path in args is correct. The npm package is not yet published — use a local binary.
Genie 403 on spaceThe PAT needs CAN USE on the Genie space and the underlying SQL warehouse.
Vector Search index not foundVerify the index name and that it is in ACTIVE state.
Vector Search 403The PAT needs CAN USE on the SQL warehouse linked to the Vector Search index.
SQL Warehouse 400 warehouse not runningUse a Serverless warehouse (auto-starts), or start the Classic warehouse manually.
UC Browser returns empty resultsVerify BROWSE + USE CATALOG grants. UC privileges are not transitive.
UC Browser 403 on lineageLineage requires BROWSE on the table plus USE CATALOG / USE SCHEMA on parent objects.
Deploy databricks: command not foundLive deploys shell out to the Databricks CLI. Install it and authenticate (databricks auth login).
Serving deploy endpoint returns errorsdatabricks-serving is a wrapper — the underlying agent must already be deployed and reachable (typically via databricks-app first).

On this page