Loading

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

Data pubblicazione: Aug 25, 2025
Descrizione

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. 

Risoluzione

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")

Numero articolo Knowledge

001470797

 
Caricamento
Salesforce Help | Article