Skip to content

Can't certify data source while publishing #1058

Closed

Description

@elsherif

Describe the bug
I created a new DatasourceItem and set the certification attributes correctly. When publishing the data source, it can be published successfully, but wouldn't be certified. In logs I can see that TSC is sending the tsRequest with out the certification information.

Versions
Details of your environment, including:

  • Tableau Online
  • Python version: 3.8
  • TSC library version: 0.17.0

To Reproduce
publish_mode = tab_server.PublishMode.Overwrite
project_id = ...
connection_credentials = ...
filepath = ...
new_datasource = TSC.DatasourceItem(project_id)

new_datasource.certified = True
new_datasource.certification_note = "note"

new_datasource = tab_server.datasources.publish(
new_datasource,
filepath,
publish_mode,
connection_credentials=connection_credentials,
)

Results
Data source published but not certified.

Activity

  1. jacalata commented on Jun 28, 2022

    @jacalata
    Contributor

    see if I can fix this with the general clean-up of connections v credentials in #1057

  2. added a commit that references this issue on Sep 22, 2023
  3. jacalata commented on Aug 25, 2026

    @jacalata
    Contributor

    This shipped in TSC 0.26 via #1215 (April 2023). DatasourceRequest._generate_xml (called from publish_req) now emits isCertified and certificationNote on the datasource element, so setting new_datasource.certified = True / certification_note = "..." before datasources.publish(...) will now certify the datasource. Closing as completed; removing the in-progress label.

  4. removed
    in-progressIssues that are in-progress of being fixed
    on Aug 25, 2026
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions