Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Invalid interval value for a monthly frequency: Customized Monthly. #1365

Closed
Labels
bug needs investigationIssue needs to be looked at by Tableau
@MakhdumS

Description

I have a schedule in Tableau Server which is set to run on a Monthly basis: Every 11th, 12th, 16th, 24th, 26th day of the month, at 5:05 PM.
When I use the below code to retrieve the specific schedule

with server.auth.sign_in(tableau_auth): #print(id) sch_item = server.schedules.get_by_id('xxx') print(sch_item.name)

It results in an error:
ValueError: Invalid interval value for a monthly frequency: Customized Monthly.

I've used the Tableau REST API directly to see what the is output in the XML, where I see the interval monthDay is Customized Monthly.

<schedule id="f059d794-90dc-40d0-bfad-2ca78e437369" name="TEST MONTHLY SCHEDULE MAK" state="Active" priority="50" createdAt="2024-03-13T17:05:01Z" updatedAt="2024-03-16T16:05:14Z" type="Extract" frequency="Monthly" nextRunAt="2024-03-24T16:05:00Z" executionOrder="Parallel"><frequencyDetails start="17:05:00"><intervals><interval monthDay="Customized Monthly"/></intervals></frequencyDetails></schedule></tsResponse>

I'm assuming there isn't a way to display the actual dates for the schedule, but does the interval item code need to be updated to handle the value of "Customized Monthly"?

Versions
Details of your environment, including:

  • Tableau Server version 2022年1月20日
  • Python version 3.11.4
  • TSC library version 0.30

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug needs investigationIssue needs to be looked at by Tableau

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /