<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Why is &amp;quot;[SPLUNKD] Action Forbidden&amp;quot; on fetching Splunk app's configuration? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Why-is-quot-SPLUNKD-Action-Forbidden-quot-on-fetching-Splunk-app/m-p/601454#M10654</link>
    <description>&lt;P&gt;I'am trying to fetch the app's configuration using:&lt;/P&gt;
&lt;P&gt;const appNamespace = {&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;owner: "admin",&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;app: appName,&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;sharing: "app"&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;};&lt;/P&gt;
&lt;P&gt;const http = new splunkjs.SplunkWebHttp();&lt;BR /&gt;console.log(http);&lt;BR /&gt;const service = new splunkjs.Service(http, appNamespace,);&lt;BR /&gt;console.log(service);&lt;BR /&gt;stage = 'Retrieving configurations SDK collection';&lt;BR /&gt;const configCollection = service.configurations(appNamespace);&lt;BR /&gt;console.log(configCollection)&lt;BR /&gt;await configCollection.fetch() &amp;nbsp; &amp;nbsp; &amp;nbsp;// Adding this line is what's causing the error.&lt;/P&gt;
&lt;P&gt;But I'm getting an error of&amp;nbsp;"[SPLUNKD] Action Forbidden" when I look at the browser's console. The app's read permission is set to "Everyone".&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jun 2022 19:56:07 GMT</pubDate>
    <dc:creator>domaquino</dc:creator>
    <dc:date>2022-06-13T19:56:07Z</dc:date>
    <item>
      <title>Why is "[SPLUNKD] Action Forbidden" on fetching Splunk app's configuration?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Why-is-quot-SPLUNKD-Action-Forbidden-quot-on-fetching-Splunk-app/m-p/601454#M10654</link>
      <description>&lt;P&gt;I'am trying to fetch the app's configuration using:&lt;/P&gt;
&lt;P&gt;const appNamespace = {&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;owner: "admin",&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;app: appName,&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;sharing: "app"&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;};&lt;/P&gt;
&lt;P&gt;const http = new splunkjs.SplunkWebHttp();&lt;BR /&gt;console.log(http);&lt;BR /&gt;const service = new splunkjs.Service(http, appNamespace,);&lt;BR /&gt;console.log(service);&lt;BR /&gt;stage = 'Retrieving configurations SDK collection';&lt;BR /&gt;const configCollection = service.configurations(appNamespace);&lt;BR /&gt;console.log(configCollection)&lt;BR /&gt;await configCollection.fetch() &amp;nbsp; &amp;nbsp; &amp;nbsp;// Adding this line is what's causing the error.&lt;/P&gt;
&lt;P&gt;But I'm getting an error of&amp;nbsp;"[SPLUNKD] Action Forbidden" when I look at the browser's console. The app's read permission is set to "Everyone".&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 19:56:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Why-is-quot-SPLUNKD-Action-Forbidden-quot-on-fetching-Splunk-app/m-p/601454#M10654</guid>
      <dc:creator>domaquino</dc:creator>
      <dc:date>2022-06-13T19:56:07Z</dc:date>
    </item>
  </channel>
</rss>

