I'am trying to fetch the app's configuration using:
const appNamespace = {
owner: "admin",
app: appName,
sharing: "app"
};
const http = new splunkjs.SplunkWebHttp();
console.log(http);
const service = new splunkjs.Service(http, appNamespace,);
console.log(service);
stage = 'Retrieving configurations SDK collection';
const configCollection = service.configurations(appNamespace);
console.log(configCollection)
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".