We cannot create schedules with a MonthlyInterval, looking at the code it forces the interval to be a tuple. · Issue #1579 · tableau/server-client-python · GitHub
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
Results
What are the results or error messages received?
Traceback (most recent call last):
File "/MY_REPO/_develop_schedules.py", line 86, in <module>
new_schedule = server.schedules.create(schedule)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/VENV_PYTHON_PATH/site-packages/tableauserverclient/server/endpoint/endpoint.py", line 274, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/VENV_PYTHON_PATH/site-packages/tableauserverclient/server/endpoint/schedules_endpoint.py", line 80, in create
server_response = self.post_request(url, create_req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/VENV_PYTHON_PATH/site-packages/tableauserverclient/server/endpoint/endpoint.py", line 226, in post_request
return self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/VENV_PYTHON_PATH/site-packages/tableauserverclient/server/endpoint/endpoint.py", line 141, in _make_request
self._check_status(server_response, url)
File "/VENV_PYTHON_PATH/site-packages/tableauserverclient/server/endpoint/endpoint.py", line 166, in _check_status
raise ServerResponseError.from_response(server_response.content, self.parent_srv.namespace, url)
tableauserverclient.server.endpoint.exceptions.ServerResponseError:
409004: Bad Request
Schedule monthDay must be either an integer between 1 and 31 or 'LastDay'.
The text was updated successfully, but these errors were encountered:
Tableau Support: https://help.salesforce.com/s/case-view?caseId=500Hx00000kv6hJIAQ
Describe the bug
A clear and concise description of what the bug is.
Versions
Details of your environment, including:
Tableau Server Version: 2022.3.9 (20223.23.0811.1400) 64-bit Linux
.Tableau Server Version: 2024.2.2 (20242.24.0807.0327) 64-bit Linux
Python 3.12.6
.tableauserverclient-0.36
To Reproduce
Steps to reproduce the behavior. Please include a code snippet where possible.
Results
What are the results or error messages received?
The text was updated successfully, but these errors were encountered: