You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to publish large WorkBook file via asynchronous publishing #1387
Describe the bug
We are trying to publish a workbook(TWBX) of 228 MB via server.workbooks.publish(wb_item, file_path, 'Overwrite', as_job=True, hidden_views=view-list, but while asynchronously publishing the large workbook file(TWBX), it is getting timed out.
Note: - We are publishing the workbook via Github Actions.
Versions
Details of your environment, including:
Tableau Online or Cloud
Python version = 3.12.3
TSC library version = 0.30
To Reproduce
Steps to reproduce - file_path=Path to a file which is large(Should be more that 228 mb or 64 mb(As the documentation says)) wb_item = TSC.WorkbookItem(name=WBname , project_id=project_id) server.workbooks.publish(wb_item, file_path, 'Overwrite', as_job=True, hidden_views=view-list)
Results
The job is not getting finished. As we are running the job via GitHub Actions and till 6 hours the publishing job is not getting completed.
Thanks for the report. While we can't reproduce this directly, we've made two improvements in #1781 that should help:
If a 504 occurs during a chunked upload with as_job=True, the error message now tells you to try reducing the chunk size via the TSC_CHUNK_SIZE_MB environment variable (default is 50MB per chunk)
The publish docstring now documents this env var
If you're still hitting timeouts, try setting TSC_CHUNK_SIZE_MB=10 (or lower) before running your script.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this is still relevant, please comment to keep it open.
Activity
jacalata commentedon Jun 17, 2026
Thanks for the report. While we can't reproduce this directly, we've made two improvements in #1781 that should help:
as_job=True, the error message now tells you to try reducing the chunk size via theTSC_CHUNK_SIZE_MBenvironment variable (default is 50MB per chunk)publishdocstring now documents this env varIf you're still hitting timeouts, try setting
TSC_CHUNK_SIZE_MB=10(or lower) before running your script.github-actions commentedon Aug 17, 2026
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this is still relevant, please comment to keep it open.
jacalata commentedon Aug 25, 2026
Closing this out as stale - any new questions or reports should be made in a new issue with details included.