Skip to content

Using Oauth for Connection Credentials for publishing the workbook #1624

Description

@priya100497

Describe the bug
We have a Jenkins pipeline to run the job for publishing workbooks. We have a use case for a workbook that uses live Athena datasource using oauth for data connection. I added the code to use oauth based on the documentation, but it's not very clear as. FYI, the workbook is getting published manually.

1- What is expected in the parameters when using oauth- username, password, embed etc. What value is expected?-
ConnectionCredentials(name, password, embed=False, oauth=True)

2- The job is failing but it's not giving proper error message to describe the issue so i am clueless. Also why the value of "started_at" is None?

18:20:38 === Detailed Error Information ===
18:20:38 job_info: <Job#xxxxxxxxxxxxx PublishWorkbook created_at(2025-06-20 12:50:28+00:00) started_at(None) completed_at(2025-06-20 12:50:28+00:00) progress (100) finish_code(1)>
18:20:38 Job ID: XXXXXXXXXXXX
18:20:38 Job type: PublishWorkbook
18:20:38 Job mode: Asynchronous
18:20:38 Job notes: N/A
18:20:38 Job created at: 2025-06-20 12:50:28+00:00
18:20:38 Job started at: None
18:20:38 Job completed at: 2025-06-20 12:50:28+00:00
18:20:38 Job progress: 100
18:20:38 Job finish code: 1

Also let me know if i am missing out on anything.

Versions
Details of your environment, including:

  • Tableau Server version- 2024.2.2 (20242.24.0807.0327) 64-bit Linux
  • Python version- 3.9
  • TSC library version- 0.15.0

Activity

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 request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions