Skip to content

Internal Server Error when publishing a data source size is > 64 MB #1352

Description

@purush1985

Describe the bug
When a Tableau extract(.tdsx) file published to Tableau server which are greater than 64 MB, then the REST API call returns "500 Internal Server Error". The same works very well with TSC version 0.25.

Versions
Details of your environment, including:

  • Tableau Server version (or note if using Tableau Online) - 2022.3
  • Python version - 3.7.0
  • TSC library version - 0.29/0.30

To Reproduce

  1. Keep a Tableau extract with a size of greater than 64 MB. In my case it was 74 MB
  2. Use TCS version 0.29/0.30 to make a REST API call to publish to a server either new ds or overwrite
  3. Read the response which will of 500 Internal Server Error

Results
500 Internal Server Error
nothing much

NOTE: Be careful not to post user names, passwords, auth tokens or any other private or sensitive information.

Activity

  1. jmooreWH commented on Feb 12, 2024

    @jmooreWH

    We have observed the same issue after upgrading to TSC version 0.29 with datasources.publish when the hyper file is larger than 64MB. We are using Tableau Server 2023.1.8 and python 3.11. In case it is useful, we pulled the following details from the Tableau Server logs:

    last_exception_class=com.tableausoftware.domain.exception.FileUploadException
    last_exception_message=errors.upload.concurrent_write
    first_exception_class=com.tableausoftware.domain.exception.FileUploadException
    first_exception_message=errors.upload.concurrent_write
    last_exception_stacktrace=com.tableausoftware.domain.fileupload.appenders.ExclusiveFileLock.<init>(com.tableausoftware.domain.exception.FileUploadException)sun.nio.ch.FileLockTable.checkList(java.nio.channels.OverlappingFileLockException)
    first_exception_location=File Upload Append Failure
    last_exception_location=File Upload Append Failure
    first_exception_stacktrace=com.tableausoftware.domain.fileupload.appenders.ExclusiveFileLock.<init>(com.tableausoftware.domain.exception.FileUploadException)sun.nio.ch.FileLockTable.checkList(java.nio.channels.OverlappingFileLockException)
    
  2. github-actions commented on Jul 28, 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.

  3. jacalata commented on Aug 6, 2026

    @jacalata
    Contributor

    This should have been fixed by the threading refactor in 0.31. Closing with that assumption since we didn't hear about it again.

  4. jacalata commented on Oct 9, 2026

    @jacalata
    Contributor

    Re-verified this closure rather than leaving it as an assumption. Generated a 64.3 MB single-table .hyper extract and published it against a live Tableau Online site (10ax) with the current TSC release (0.40.post0.dev212, well past the 0.31 threading refactor referenced in the original close). Publish succeeded cleanly — no 500, no concurrent_write FileUploadException. Closure confirmed.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions