Skip to content

Unable to publish large WorkBook file via asynchronous publishing #1387

Closed as not planned

Description

@shubhrajoy2109

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.

Activity

  1. added
    help wantedA user needs help, may be a mistake, a bug or a feature request
    on Jul 29, 2024
  2. jacalata commented on Jun 17, 2026

    @jacalata
    Contributor

    Thanks for the report. While we can't reproduce this directly, we've made two improvements in #1781 that should help:

    1. 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)
    2. 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.

  3. github-actions commented on Aug 17, 2026

    @github-actions

    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.

  4. jacalata commented on Aug 25, 2026

    @jacalata
    Contributor

    Closing this out as stale - any new questions or reports should be made in a new issue with details included.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedA user needs help, may be a mistake, a bug or a feature requeststale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions