Closed faizanmansuri closed 8 months ago
Hi @faizanmansuri , we are unable to reproduce the issue. So can you please share other details such as Cluster configurations, as well as the response body that is received from the Splunk Enterprise. Also could you confirm if the issue exists only for the saved-search APIs or all the other APIs as well. Thanks!
Hi @ashah-splunk, Thanks for looking into it. I found that there is an issue with other APIs response as well in our specific Splunk environment So I don't think it is a SDK problem.
I am trying to create a saved search (type alert) on Splunk using python-sdk. The problem I am facing is the alert gets created with the proper fields but it still throws an error
UnicodeDecodeError: don't know how to handle UnicodeDecodeError in error callback
.To Reproduce Steps to reproduce the behavior:
Expected behavior Alert should be created without throwing an error.
Splunk (please complete the following information):
SDK (please complete the following information):
Additional context I have backtracked the functions where it is throwing error from So far I found that
_load_atom
in https://github.com/splunk/splunk-sdk-python/blob/master/splunklib/client.py#L205C5-L205C15 is throwing the error.