Skip to content

requests keep failing due to an old starttime argument value that is no longer present anywhere in the config #21

Description

@sideview-nick

I had solved this once already I thought, by manually kicking the starttime keys that the app wrote into the conf, so that they were less than 720 hours before the current time.

However the problem came back and in 1.3.1 it seems maybe worse. I'm sure there's a simple answer but looking for guidance.

Lots of request fail because there is an argument being passed for starttime of 2025-07-31.
I do think that was the day I originally installed the app but that timestamp is not present anywhere in my conf at this point. Is the app itself perhaps pulling it from kv store, as a kind of 'cursor time' ?

2026-02-06 13:18:04,570 log_level=ERROR pid=3384079 tid=MainThread file=base_modinput.py:log_error:317 | Get error when collecting events.
Traceback (most recent call last):
File "/opt/splunks/10.0.0/etc/apps/ta_cisco_webex_add_on_for_splunk/lib/splunktaucclib/modinput_wrapper/base_modinput.py", line 141, in stream_events
self.collect_events(ew)
File "/opt/splunks/10.0.0/etc/apps/ta_cisco_webex_add_on_for_splunk/bin/webex_meetings_summary_report.py", line 89, in collect_events
input_module.collect_events(helper, ew)
File "/opt/splunks/10.0.0/etc/apps/ta_cisco_webex_add_on_for_splunk/bin/input_module_webex_meetings_summary_report.py", line 121, in collect_events
meeting_usage_reports = paging_get_request_to_webex(
File "/opt/splunks/10.0.0/etc/apps/ta_cisco_webex_add_on_for_splunk/bin/webex_api_client.py", line 79, in paging_get_request_to_webex
raise e
File "/opt/splunks/10.0.0/etc/apps/ta_cisco_webex_add_on_for_splunk/bin/webex_api_client.py", line 40, in paging_get_request_to_webex
data,response_header = make_get_request_to_webex(
File "/opt/splunks/10.0.0/etc/apps/ta_cisco_webex_add_on_for_splunk/bin/webex_api_client.py", line 198, in make_get_request_to_webex
raise e
File "/opt/splunks/10.0.0/etc/apps/ta_cisco_webex_add_on_for_splunk/bin/webex_api_client.py", line 188, in make_get_request_to_webex
response.raise_for_status()
File "/opt/splunks/10.0.0/lib/python3.9/site-packages/requests/models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://webexapis.com/v1/meetingReports/usage?from=2025-07-31T00%3A00%3A01Z&to=2026-02-05T18%3A18%3A04Z&max=100

Thanks in advance for any way to reset this to get it to start.

Also, in case it's related I'm getting a steady diet of these errors.
In the very initial setup I did have a value for siteurl, but this triggered errors that we have no such site in our Webex account (technically our webex account is very small and it seems to not use/have any sites at all).

2026-02-06 13:18:04,569 log_level=ERROR pid=3384079 tid=MainThread file=base_modinput.py:log_error:317 | [-] Error happened while getting date from webex https://webexapis.com/v1/meetingReports/usage?from=2025-07-31T00%3A00%3A01Z&to=2026-02-05T18%3A18%3A04Z&max=100 API: code: 400 - body: {"message":"The request could not be understood by the server due to malformed syntax. See 'errors' for more details.","errors":[{"description":"Required request parameter 'siteUrl' for method parameter type String is not present"}],"trackingId":"ROUTERGW_b4fcb8d2-40f9-4308-80a3-2d278b1d8c71"}
[!] You need to re-configure the account in configuration page

Metadata

Metadata

Assignees

Labels

externalCommunity raised

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions