Old Data Returned Using Query View Data Rest API Method

Published: 17 Sep 2019
Last Modified Date: 04 Aug 2020


When using Query View Data REST API method, data is stale even though the view within the web user interface is up-to-date.


  • Tableau Online
  • Tableau Server 


For Tableau Server, upgrade to 2020.1 or later.

As a workaround, use the Query View Image method and maxAge parameter. For more information on Query View Image and the maxAge parameter, see API Reference—All Methods --> Query View Image. 


This behavior is caused by a known issue, which is corrected in more recent version of the products.

Additional Information

The maxAge parameter allows you to set the maximum number of minutes a view image will be cached before being refreshed. To prevent multiple image requests from overloading the server, the shortest interval you can set is one minute. There is no maximum value, but the server job enacting the caching action may expire before a long cache period is reached.
Did this article resolve the issue?