Loading

Clicking on username shows "An unexpected error occurred" and no content is displayed

Publiceringsdatum: Feb 21, 2025
Beskrivning

When the username in the Users tab is selected, an error could display and no content is available with the following error:

An unexpected error occurred

The issue can happen after an upgrade from Tableau Server 2020 to either 2021 or lastest

The following error is displayed in the contentexploration log:

2022-05-10 15:59:03.177 +1200 (,,,YnnjBv3svmFsScBPMgchTQAAArc,anFVZSvmKuI=) http-nio-8683-exec-1 : ERROR com.tableau.voltron.logging.GlobalExceptionHandler - {"errId":"F26365B13F7ACF8AFACECA6BB7AE61FB","errMessage":"Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed]","errCode":"UNKNOWN_ERROR","httpErrorCode":500,"stackTrace":"ElasticsearchStatusException[Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed]]; nested: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=no mapping found for `datasourceId_number` in order to collapse on]]; nested: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=no mapping found for `datasourceId_number` in order to collapse on]];

And this error in elasticsearch log:

Caused by: java.lang.IllegalArgumentException: no mapping found for `datasourceId_number` in order to collapse on
                at org.elasticsearch.search.collapse.CollapseBuilder.build(CollapseBuilder.java:204) ~[elasticsearch-7.9.3.jar:7.9.3]

Lösning
1. Create a project named “Samples” in the Default site.
2. Run the following tabcmd command to publish samples:
 
tabcmd publishsamples -n "Samples" -t "" -s localhost --username "<tableauServerUsername>"
 
Knowledge-artikelnummer

001475082

 
Laddar
Salesforce Help | Article