Skip to content

Troubleshooting

Databricks Authentication Fails

Possible CauseResolution
Invalid PATVerify the PAT is still valid and has not expired. Regenerate if needed.
Service principal not in workspaceEnsure the service principal has been added to the workspace.
Incorrect hostnameConfirm the Databricks workspace hostname format (e.g., dbc-e1c6a646-1e07.cloud.databricks.com).
Incorrect HTTP pathVerify the SQL warehouse or cluster HTTP path in Databricks workspace settings.
IP access list blockingEnsure Treasure Data server IPs are added to the Databricks allow list.

PAT Creation Fails for Service Principal

Possible CauseResolution
"User does not have permission to use tokens"The initial PAT must be created by a workspace admin using databricks token-management create-obo-token. Service principals cannot create their own first token.
OAuth M2M profile used instead of admin profileUse an admin profile (--profile <admin-profile>) when running the OBO command, not the service principal's OAuth profile.

Parent Segment Upload Fails

Possible CauseResolution
Invalid JSONValidate your JSON with a linter (e.g., jq . parent_segment_config.json).
Wrong connectionIdConfirm the ID matches your saved Databricks authentication in Integration Hub. The connectionId can be found in the URL of the authentication detail page.
Missing catalog fieldDatabricks requires the catalog field in master, attributes, and behaviors definitions. Ensure it is present in all entries.
Table/schema/catalog not foundVerify all catalog, schema, and table names exist in Databricks and match exactly (case-sensitive).
Missing columnsEnsure keyColumn, tableKey, masterKey, and all column values exist in the referenced tables.

Segment Counts Show Zero

Possible CauseResolution
Empty Customers tableVerify the Customers table has data: SELECT COUNT(*) FROM <catalog>.<schema>.customers;
Key mismatchConfirm that unified profile identifier values in Behaviors tables match those in the Customers table.
Permission issuesEnsure the service principal has SELECT on all referenced tables in Unity Catalog.

Cannot Access CAS UI

Possible CauseResolution
Feature not enabledContact Customer Success to verify your account has Composable Audience Studio enabled.
Browser cacheClear browser cache and reload the page.
Account permissionsContact Customer Success to verify your account has CAS permissions.