<?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 Re: AuthorizationFailed: [HTTP 403] Client is not authorized to perform requested action; in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/AuthorizationFailed-HTTP-403-Client-is-not-authorized-to-perform/m-p/527544#M148922</link>
    <description>&lt;P&gt;Additionally, I tried to create a new user and assigned all the capabilities.&lt;BR /&gt;Then I tried to run the query or search from the user, but still, I got the same issue.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Nov 2020 14:23:02 GMT</pubDate>
    <dc:creator>impurush</dc:creator>
    <dc:date>2020-11-02T14:23:02Z</dc:date>
    <item>
      <title>AuthorizationFailed: [HTTP 403] Client is not authorized to perform requested action;</title>
      <link>https://community.splunk.com/t5/Splunk-Search/AuthorizationFailed-HTTP-403-Client-is-not-authorized-to-perform/m-p/527347#M148866</link>
      <description>&lt;P&gt;I am trying to send an email with the help of the make results command in the splunk search but I am not receiving the email and getting the below error.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;U&gt;Error:&lt;/U&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;2020-10-30 12:45:21,129 -0400 ERROR sendemail:1428 - [HTTP 403] Client is not authorized to perform requested action; &lt;A href="https://127.0.0.1:8289/servicesNS/admin/cams/search/jobs/subsearch_asfd29470124adsfa319841023e?output_mode=json" target="_blank"&gt;https://127.0.0.1:8289/servicesNS/admin/cams/search/jobs/subsearch_asfd29470124adsfa319841023e?output_mode=json&lt;/A&gt;&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/app/splunk/etc/apps/search/bin/sendemail.py", line 1421, in &amp;lt;module&amp;gt;&lt;BR /&gt;results = sendEmail(results, settings, keywords, argvals)&lt;BR /&gt;File "/app/splunk/etc/apps/search/bin/sendemail.py", line 400, in sendEmail&lt;BR /&gt;jobResponseHeaders, jobResponseBody = simpleRequest(uriToJob, method='GET', getargs={'output_mode':'json'}, sessionKey=sessionKey)&lt;BR /&gt;File "/app/splunk/lib/python2.7/site-packages/splunk/rest/__init__.py", line 559, in simpleRequest&lt;BR /&gt;raise splunk.AuthorizationFailed(extendedMessages=uri)&lt;BR /&gt;AuthorizationFailed: [HTTP 403] Client is not authorized to perform requested action; &lt;A href="https://127.0.0.1:8289/servicesNS/admin/cams/search/jobs/subsearch_asdfasljfd9147192034ejdlajff?output_mode=json" target="_blank"&gt;https://127.0.0.1:8289/servicesNS/admin/cams/search/jobs/subsearch_asdfasljfd9147192034ejdlajff?output_mode=json&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;&lt;STRONG&gt;Query&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;&amp;lt;My query&amp;gt;&lt;BR /&gt;| map search="| makeresults&lt;BR /&gt;| eval attribute=\"$value$\"&lt;BR /&gt;| table attribute&lt;BR /&gt;| sendemail to=\"myemail@id.com\"&lt;BR /&gt;content_type=\"html\"&lt;BR /&gt;message=\"Test message\""&lt;BR /&gt;&lt;BR /&gt;Any help would be appreciated and Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 17:02:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/AuthorizationFailed-HTTP-403-Client-is-not-authorized-to-perform/m-p/527347#M148866</guid>
      <dc:creator>impurush</dc:creator>
      <dc:date>2020-10-30T17:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: AuthorizationFailed: [HTTP 403] Client is not authorized to perform requested action;</title>
      <link>https://community.splunk.com/t5/Splunk-Search/AuthorizationFailed-HTTP-403-Client-is-not-authorized-to-perform/m-p/527354#M148868</link>
      <description>&lt;P&gt;Depending on which version of Splunk you're using, you may need the &lt;FONT face="courier new,courier"&gt;admin_all_objects&lt;/FONT&gt;&amp;nbsp;capability to use the &lt;FONT face="courier new,courier"&gt;sendemail&lt;/FONT&gt; command.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 17:57:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/AuthorizationFailed-HTTP-403-Client-is-not-authorized-to-perform/m-p/527354#M148868</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-10-30T17:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: AuthorizationFailed: [HTTP 403] Client is not authorized to perform requested action;</title>
      <link>https://community.splunk.com/t5/Splunk-Search/AuthorizationFailed-HTTP-403-Client-is-not-authorized-to-perform/m-p/527356#M148869</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am currently using Splunk Enterprise 8.0.1 and I login as an admin user.&lt;BR /&gt;I have verified that the capability is assigned to this role but still it does not working.&lt;BR /&gt;However, the sendemail command is working when I used straight forward which means as below:&lt;/P&gt;&lt;P&gt;&amp;lt;my query&amp;gt;&lt;BR /&gt;| sendemail &amp;lt;details&amp;gt;&lt;BR /&gt;&lt;BR /&gt;But I am getting the error in the python log when I use it in makeresults command as I mentioned in the initial question.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 21:01:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/AuthorizationFailed-HTTP-403-Client-is-not-authorized-to-perform/m-p/527356#M148869</guid>
      <dc:creator>impurush</dc:creator>
      <dc:date>2020-10-30T21:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: AuthorizationFailed: [HTTP 403] Client is not authorized to perform requested action;</title>
      <link>https://community.splunk.com/t5/Splunk-Search/AuthorizationFailed-HTTP-403-Client-is-not-authorized-to-perform/m-p/527544#M148922</link>
      <description>&lt;P&gt;Additionally, I tried to create a new user and assigned all the capabilities.&lt;BR /&gt;Then I tried to run the query or search from the user, but still, I got the same issue.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 14:23:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/AuthorizationFailed-HTTP-403-Client-is-not-authorized-to-perform/m-p/527544#M148922</guid>
      <dc:creator>impurush</dc:creator>
      <dc:date>2020-11-02T14:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: AuthorizationFailed: [HTTP 403] Client is not authorized to perform requested action;</title>
      <link>https://community.splunk.com/t5/Splunk-Search/AuthorizationFailed-HTTP-403-Client-is-not-authorized-to-perform/m-p/527591#M148945</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Looks like this is a known issue SPL-169625 which will be fixed in a later version.&lt;BR /&gt;&lt;/SPAN&gt;I will close this thread if I get any workaround solution.&lt;BR /&gt;Please let me know if you have come across this issue and a workaround.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 19:34:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/AuthorizationFailed-HTTP-403-Client-is-not-authorized-to-perform/m-p/527591#M148945</guid>
      <dc:creator>impurush</dc:creator>
      <dc:date>2020-11-02T19:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: AuthorizationFailed: [HTTP 403] Client is not authorized to perform requested action;</title>
      <link>https://community.splunk.com/t5/Splunk-Search/AuthorizationFailed-HTTP-403-Client-is-not-authorized-to-perform/m-p/527724#M148983</link>
      <description>&lt;P&gt;I have found the workaround solution and thanks to&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/166490"&gt;@ayush1906&lt;/a&gt;&amp;nbsp; for pointing out the right one.&lt;BR /&gt;Attaching the link below for the solution and marking as the right solution to close this thread.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/Alerting/Send-same-email-alert-to-different-email-ids-based-on-a/m-p/527628/highlight/true#M9934" target="_blank"&gt;https://community.splunk.com/t5/Alerting/Send-same-email-alert-to-different-email-ids-based-on-a/m-p/527628/highlight/true#M9934&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 13:51:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/AuthorizationFailed-HTTP-403-Client-is-not-authorized-to-perform/m-p/527724#M148983</guid>
      <dc:creator>impurush</dc:creator>
      <dc:date>2020-11-03T13:51:31Z</dc:date>
    </item>
  </channel>
</rss>

