Adding a live dataset on the Data Preparation Web UI, no Jobs are visible, and the following error message occurs:
In the log file you can find errors like:
2017-10-19 17:18:25.766 qtp809 [user 2] ERROR o.t.d.e.TDPExceptionController An error occurred
org.talend.dataprep.exception.TDPException: UNABLE_TO_LIST_REMOTE_TASKS:{Error=Insufficient right. You must have one of the roles [Designer, Operation manager, Viewer] for action [listTasks].}
at org.talend.dataprep.command.tac.client.TacClientSupport.readListTasksResponse(TacClientSupport.java:271) ~[dataprep-ee-backend-service-2.0.0.jar:?]
at org.talend.dataprep.api.dataset.location.job.ListTasksCommand.processResponse(ListTasksCommand.java:49) ~[dataprep-ee-dataset-2.0.0-lib.jar:?]
Problem root cause
The TAC credentials set in the Data Preparation config file are different from those used to connect to TAC.
Solution or Workaround
Check the application.properties file under dataprep\config, and see:
# TAC user:
# It must have "Operation Manager" or "Designer" role and have authorization on required projects to list tasks in "Talend job" datasets.
# It must have "Administrator" role in TAC, in order to list users and groups for sharing.
tac.user-name=xxxxxx
tac.password=xxxxx
Ensure the credentials are the same as the admin user connecting to TAC.
The password is encrypted, so you need to stop the Data Preparation Web UI.