Building for the Splunk Platform

splunk.HttpException: HTTP 401 -- call not properly authenticated while using Java SDK 1.6.x

Loves-to-Learn Lots


We are using Splunk Java SDK for connecting to Splunk server to perform data ingestion and search operations. 

We are performing several search operations and we are getting this error.

splunk.HttpException: HTTP 401 -- call not properly authenticated.

We checked, the credentials and  port are correct.
Any help to fix this issue would be appreciated.
Labels (1)
0 Karma
Get Updates on the Splunk Community!

Register to Attend BSides SPL 2022 - It's all Happening October 18!

Join like-minded individuals for technical sessions on everything Splunk!  This is a community-led and run ...

What's New in Splunk Cloud Platform 9.0.2208?!

Howdy!  We are happy to share the newest updates in Splunk Cloud Platform 9.0.2208! Analysts can benefit ...

Admin Console: A Single, Unified Interface for All Your Cloud Admin Needs

WATCH NOWJoin us to learn how the admin console can save you time and give you more control over the Splunk® ...