Building for the Splunk Platform

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

royalhrk
Loves-to-Learn Lots

Hi,

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.
 
Thanks.
Hassan.
 
Labels (1)
0 Karma
Get Updates on the Splunk Community!

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

Getting Started with AIOps: Event Correlation Basics and Alert Storm Detection in ...

Getting Started with AIOps:Event Correlation Basics and Alert Storm Detection in Splunk IT Service ...

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