KNOWLEDGE BASE

Workbook download using Tableau Server Client (TSC) is failing on Tableau Server


Published: 10 Jan 2024
Last Modified Date: 11 Jan 2024

Issue

Workbooks.download fails with a 'filename' error on Tableau Server 2023.1.7 (API 3.19) using the tableauserverclient-0.28 .

Environment

  • Tableau Server 2023.1

Resolution

Install the development branch TSC ( Tableau Server Client) package using the following command:
pip install git+https://github.com/tableau/server-client-python.git@development

Utilizing the development branch eliminates the necessity for any code modifications or workarounds. Sample code functions as anticipated with this TSC package.

Alternative workaround

Use the Tableau REST API or curl to download the workbook.

Cause

The 'filename' header is encountering some issues.
Did this article resolve the issue?