Loading

Error - 400011 (Bad Request There was a problem publishing the file ) While publishing large workbook using tableau server client (TSC)

Дата публикации: Aug 25, 2025
Описание

When publishing the workbook, you receive the error:

400011: Bad Request
There was a problem publishing the file 

Cause

The maximum size of a workbook or data source that can be published in a single request is 64 MB, but requests sometimes timeout with smaller file sizes, depending on the overall load on your Tableau Server installation. 

Решение

To avoid having the workbook or data source publishing process time out, you can use the asJob parameter to make publication asynchronous.

 Example :


destination = TSC.DatasourceItem(
project_id=dexdatasourcepid,
name=pd["name"],
)
jobid = (
serverD.datasources.publish(
destination,
file,
"Overwrite",as_job=True
)
)
print("Waiting for job...")
jobid = serverD.jobs.wait_for_job(jobid)
print("Job finished succesfully")

Номер статьи базы знаний

001470797

 
Загрузка
Salesforce Help | Article