Test a Databricks connection
Learn more about testing a Databricks connection configured in Reltio.
PENDING status. When the test succeeds and result.connected is true, Reltio changes the connection status to ACTIVE.200 OK for both successful and unsuccessful connection tests. Check result.connected to determine whether the connection succeeded.HTTP method and endpoint
POST {platformUrl}/reltio/api/tenants/{tenantId}/interactions/database-configs/{connectionName}/test| Parameter | Type | Required | Description |
|---|---|---|---|
tenantId | String | Yes | Unique identifier of the tenant where the Databricks connection is defined. Example: ce5627DYnQ6abcD |
connectionName | String | Yes | Name of the existing Databricks connection configuration that you want to test. |
Request headers
| Header | Value | Required |
|---|---|---|
Authorization | Bearer <access_token> | Yes |
Content-Type | application/json | Yes |
Request body
This operation does not require a request body.
Example request
Use the following example to test the Databricks connection configuration.
POST {platformUrl}/reltio/api/tenants/{tenantId}/interactions/database-configs/{connectionName}/test
Response body
| Field | Type | Description |
|---|---|---|
successful | Boolean | Indicates whether the request was processed. This value is true even when the connection test fails. |
result.connected | Boolean | Indicates whether the Databricks connection test succeeded. |
result.databaseType | String | Database type of the tested connection. |
result.message | String | Result message returned by the connection test. |
Example response
This operation returns HTTP 200 OK for both successful and unsuccessful tests. Check the result.connected field to determine whether the Databricks connection is valid.
{
"successful": true,
"result": {
"connected": true,
"databaseType": "DATABRICKS",
"message": "Connection successful"
}
}{
"successful": true,
"result": {
"connected": false,
"databaseType": "DATABRICKS",
"message": "Connection failed: <reason returned by Databricks>"
}
}Error codes and recommended actions
| HTTP status | Description | Recommended action |
|---|---|---|
404 Not Found | Configuration not found for the provided connection name. | Confirm connectionName and test the connection again. |
403 Forbidden | Zero-copy is not enabled for the tenant. | Contact Reltio Support to enable the required zero-copy feature, then test again. |