If the function is called for a value containing a backslash, a RuntimeError is thrown. URL Encoding the name does not work. Raised in Splunk Usergroup Slack channel: https://splunk-usergroups.slack.com/archives/C03AUDMLHA5/p1703127886647099