Splunk Dev

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

royalhrk
Engager

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)
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...