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
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...