All Apps and Add-ons

Getting error from Sailpoint IdentityNow app

sjain
New Member

Hi there,
I have installed sailpoint _identitynow app on a heavy forwarder. have configured relevant proxy, client ID and secret key too.
However when I am trying to run the app, I am getting following errors in the log :

2019-10-30 16:46:30,573 ERROR pid=24952 tid=MainThread file=base_modinput.py:log_error:307 | Get error when collecting events.
Traceback (most recent call last):
File "/opt/splunk/etc/apps/TA-sailpoint-identitynow-auditevent-add-on/bin/ta_sailpoint_identitynow_auditevent_add_on/modinput_wrapper/base_modinput.py", line 127, in stream_events
self.collect_events(ew)
File "/opt/splunk/etc/apps/TA-sailpoint-identitynow-auditevent-add-on/bin/sailpoint_identitynow_auditevent.py", line 72, in collect_events
input_module.collect_events(self, ew)
File "/opt/splunk/etc/apps/TA-sailpoint-identitynow-auditevent-add-on/bin/input_module_sailpoint_identitynow_auditevent.py", line 128, in collect_events
response = helper.send_http_request(audit_url, "GET", parameters=querystring, payload=None, headers=headers, cookies=None, verify=True, cert=None, timeout=None, use_proxy=use_proxy)
UnboundLocalError: local variable 'headers' referenced before assignment

Anyone faced the same before?
What am i doing wrong.

thanks
Sumit

0 Karma

SailPoint_IDPlu
Path Finder

Hi Sumit, thank you for your interest in the add-on.

The error messaging here is a little misleading - this actually indicates that the initial token request using your client credentials is not returning successfully.

If you have access to utility like Postman, you can test your request and credentials by making a request to the Oauth endpoint specified here: https://community.sailpoint.com/t5/IdentityNow-Wiki/IdentityNow-REST-APIs/ta-p/80132 - this should allow you to see what the error message being returned is, and to understand why the initial request is failing.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...