Cannot access assets with masked data in Data Virtualization

When you access Data Virtualization in the Watson services in Cloud Pak for Data (for example, IBM Knowledge Catalog, Watson Studio, and Data Refinery), you cannot preview data assets with masked data.

Symptoms

Tech preview This is a technology preview and is not supported for use in production environments.
  1. You log in to Data Virtualization in one of the Watson services by using your Cloud Pak for Data credentials.
  2. You preview a data asset, which is subject to data masking rules.
  3. The preview fails with the following error:

    The masked data for this data asset can't be retrieved.

Causes

Typically, this problem occurs when you use your Cloud Pak for Data credentials instead of specifying username and password to log in to Data Virtualization in the Watson services.

Resolving the problem

To solve this issue, follow these steps:
  1. Identify and edit the Data Virtualization connection asset in the catalog.
  2. Clear the checkbox to use your Cloud Pak for Data credentials to authenticate to the data source.
  3. Enter your username and password instead and save changes.