Unexpected Error Opening Published Workbook that Uses TabPy

Published: 11 Jun 2018
Last Modified Date: 02 Jul 2018


When you try to open a published workbook that uses TabPy, the following error occurs: 

An unexpected error occurred. If you continue to receive this error please contact your Tableau Server administrator. 
Tableau Server encountered an error while working with this worksheet. Would you like to reset the view?

Additionally, you may notice that an Error 502 appears in the logs.


  • Tableau Server 2018.1
  • TabPy


As a workaround, set a non zero value to vizqlserver.extsvc.connect_timeout_ms
For example, tabadmin set vizqlserver.extsvc.connect_timeout_ms 1000

For additional details about the above workaround, please refer to the following GitHub issue #106: Tabpy not working in 2018.1  


This behavior is related to a known issue with ID 785912 which is currently under investigation. 
Did this article resolve the issue?