You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Invalid interval value for a monthly frequency: Customized Monthly. #1365
I have a schedule in Tableau Server which is set to run on a Monthly basis: Every 11ᵗʰ, 12ᵗʰ, 16ᵗʰ, 24ᵗʰ, 26ᵗʰ 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.
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"?
I revisited this one but cannot figure out how to create (in Tableau Server) a monthly interval schedule that returns with the "Customized Monthly" type.
But in the meantime I used the original sample XML response here to create a test (which fails) and then add Customized Monthly to the list of valid intervals.
Activity
bcantoni commentedon Mar 27, 2024
We have an existing issue #1354 which has been fixed, but pending a new TSC release.
bcantoni commentedon Apr 27, 2024
Closing as a duplicate
raccoooonz commentedon Feb 3, 2025
@bcantoni I'm not sure this error is actually a duplicate, it seems #1354 was mentioning daily interval, but this is related to monthly schedules.
I'm still getting this error when trying to get schedule info for a task that has a customized monthly schedule. This is using 0.36 version.
Error I receive is:
ValueError: Invalid monthly interval: Customized Monthlywhen calling
server.schedules.get_by_id(task.schedule_id)that has a monthly schedule set to run on first monday of the month.bcantoni commentedon Feb 4, 2025
Okay I'll reopen it.
bcantoni commentedon Oct 17, 2025
I revisited this one but cannot figure out how to create (in Tableau Server) a monthly interval schedule that returns with the "Customized Monthly" type.
But in the meantime I used the original sample XML response here to create a test (which fails) and then add Customized Monthly to the list of valid intervals.
If anyone would like to try it: