All Apps and Add-ons

Insufficient permission for Splunk service now addon

ips_mandar
Builder

For eventtype="snow_ta_log_error" I am getting below error-

 ERROR pid=89870 tid=MainThread file=rest.py:splunkd_request:53 | Failed to send rest request=https://127.0.0.1:8089/servicesNS/nobody/Splunk_TA_snow/storage/passwords/https%5C%3A%252F%252Fxyz.service-now.com%3Adummy%3A, errcode=403, reason=Insufficient permission.

ERROR pid=89870 tid=MainThread file=snow_ticket.py:_get_service_now_account:160 | Failed to get clear credentials for https://xyz.service-now.com

How to troubleshoot this permission error.
Thanks,

0 Karma

koshyk
Super Champion

ah.ok. You didn't mention the credential changes in your main post !
So definitely it is related to credentials. To debug it

  1. Ensure your credentials are same in ServiceNow. Speak to your SNOW admin to put the password again in your integration user

2.Using CURL, try querying ServiceNow and see if you can retrieve data with creds.

snowInstance=myservicenowInstance
tabName=incident
pass=mypassword
userid=myuser

curl --user ${userid}:${pass} --header "Accept: application/json" https://${snowInstance}/api/now/table/${tabName} | grep }| python -mson.tool >/tmp/${tabName}.json
  1. ONLY if above works, you need to delete the entries in "local/passwords.conf" in your installation and put the creds again. Restart Splunk
0 Karma

koshyk
Super Champion

which TA version you using? Also which ServiceNow version you are integrating to?

0 Karma

ips_mandar
Builder

I am using Splunk_TA_snow version 3.1.0 and not sure about ServiceNow version how can I know this?

0 Karma

koshyk
Super Champion

you may need to ask your ServiceNow Admin or sometimes, it will shown up on the header page (or source code of ServiceNow). There are few versions out there like Kingston, Jakarta etc.

There is dependency on Splunk Enterprise Version => Addon Version => ServiceNow version

0 Karma

ips_mandar
Builder

but this error started coming from few days back might after credentials was changed so it will probably not an issue of version

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...