Javascript API getSummaryDataAsync() Results in a "500 Internal Server Error" When No Data is Returned

Published: 28 Sep 2017
Last Modified Date: 26 Nov 2019


When calling the getSummaryDataAsync() Javascript API function on a view that contains no data, the following error might occur: 

500 Internal Server Error


Tableau Server 10.0 and later versions


As a Tableau Server Administrator, upgrade to Tableau Server 10.4. For more information, see Upgrading Tableau Server in Tableau Help.


getSummaryDataAsync was not handling the exception or the state of no data. Error handling is updated to address this scenario. 

This behavior is related to a known issue (ID: 647084) which has been fixed in a recent release of Tableau Server. 

Additional Information

getUnderlyingDataAsync() does not break when no data is returned.

Discuss this article... Feedback Forum
Did this article resolve the issue?