Building for the Splunk Platform

Why is "[SPLUNKD] Action Forbidden" on fetching Splunk app's configuration?

Loves-to-Learn Lots

I'am trying to fetch the app's configuration using:

const appNamespace = { 

owner: "admin", 

app: appName, 

sharing: "app" 


const http = new splunkjs.SplunkWebHttp();
const service = new splunkjs.Service(http, appNamespace,);
stage = 'Retrieving configurations SDK collection';
const configCollection = service.configurations(appNamespace);
await configCollection.fetch()      // Adding this line is what's causing the error.

But I'm getting an error of "[SPLUNKD] Action Forbidden" when I look at the browser's console. The app's read permission is set to "Everyone".

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Splunk Education - Fast Start Program!

Welcome to Splunk Education! Splunk training programs are designed to enable you to get started quickly and ...

Five Subtly Different Ways of Adding Manual Instrumentation in Java

You can find the code of this example on GitHub here. Please feel free to star the repository to keep in ...

New Splunk APM Enhancements Help Troubleshoot Your MySQL and NoSQL Databases Faster

Splunk Observability has two new enhancements to make it quicker and easier to troubleshoot slow or frequently ...