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!

Happy CX Day to our Community Superheroes!

Happy 10th Birthday CX Day!What is CX Day? It’s a global celebration recognizing innovation and success in the ...

Check out This Month’s Brand new Splunk Lantern Articles

Splunk Lantern is a customer success center providing advice from Splunk experts on valuable data insights, ...

Routing Data to Different Splunk Indexes in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. The OpenTelemetry project is the second largest ...