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!

Splunk Forwarders and Forced Time Based Load Balancing

Splunk customers use universal forwarders to collect and send data to Splunk. A universal forwarder can send ...

NEW! Log Views in Splunk Observability Dashboards Gives Context From a Single Page

Today, Splunk Observability releases log views, a new feature for users to add their logs data from Splunk Log ...

Last Chance to Submit Your Paper For BSides Splunk - Deadline is August 12th!

Hello everyone! Don't wait to submit - The deadline is August 12th! We have truly missed the community so ...