All Apps and Add-ons

Splunk App and Add-on for ServiceNow: Why is data not indexing and receiving "ValueError: No JSON object could be decoded" error?

splunker9999
Path Finder

Hi , We are planning to integrate Splunk with ServiceNow and we could see data is not indexing.

We installed Splunk App for ServiceNow and Splunk Add-on for ServiceNow to one of our search heads and configured the setup successfully with the credentials provided by our SN team, still we are seeing details .

Below is one of the error we are seeing in log files.

2016-12-02 08:43:47,035 ERROR pid=7280 tid=Thread-4 file=thread_pool.py:_run:259 | Traceback (most recent call last):
  File "/apps/web/splunk/etc/apps/Splunk_TA_snow/bin/framework/thread_pool.py", line 257, in _run
    func()
  File /etc/apps/Splunk_TA_snow/bin/snow_job_factory.py", line 38, in __call__
    sc.DEFAULT_RECORD_LIMIT))
  File "/apps/web/splunk/etc/apps/Splunk_TA_snow/bin/snow_data_loader.py", line 124, in collect_data
    jobjs = self._json_to_objects(content)
  File "/apps/web/splunk/etc/apps/Splunk_TA_snow/bin/snow_data_loader.py", line 175, in _json_to_objects
    return json.loads(json_str)
  File "/apps/web/splunk/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/apps/web/splunk/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/apps/web/splunk/lib/python2.7/json/decoder.py", line 384, in raw_decode
    **raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded**

Can someone please help us on this.

vicvaughan_moli
New Member

Any other reasons why this could be happening? I've got a similar issue now. I can't import any of the tables.

0 Karma

splunkannm1
New Member

Make sure the URL that you have has nothing after the .com.. That is it should be https://.service-now.com . When I changed this it worked.

0 Karma

osakachan
Communicator

This worked for me. The error was the GET response was empty when you are trying to reach the wrong URL.

0 Karma

splunkannm1
New Member

I have the same issue as well. Can someone help?

0 Karma

kngfisher
New Member

has this been resolved as I am getting the same error. Splunk 6.5.2 with ServiceNow Helsinki.

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 ...