<?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 How to troubleshoot why users get 404 not found error when querying the REST endpoints? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-troubleshoot-why-users-get-404-not-found-error-when/m-p/202953#M58926</link>
    <description>&lt;P&gt;One of our clients is trying to use REST API services. He is working on a Web/mobile team which is considering an innovation project involving a Splunk integration. Basically, better tracking/early notification of errors so that we can prevent them. We’re attempting to work with the Splunk API, but we can’t seem to connect to the documented endpoints.&lt;/P&gt;

&lt;P&gt;All we know from him is that he is getting 404 errors. How to troubleshoot and to rectify this? &lt;/P&gt;

&lt;P&gt;thanks in advance.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Dec 2016 13:39:00 GMT</pubDate>
    <dc:creator>Koushik_Katta</dc:creator>
    <dc:date>2016-12-20T13:39:00Z</dc:date>
    <item>
      <title>How to troubleshoot why users get 404 not found error when querying the REST endpoints?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-troubleshoot-why-users-get-404-not-found-error-when/m-p/202953#M58926</link>
      <description>&lt;P&gt;One of our clients is trying to use REST API services. He is working on a Web/mobile team which is considering an innovation project involving a Splunk integration. Basically, better tracking/early notification of errors so that we can prevent them. We’re attempting to work with the Splunk API, but we can’t seem to connect to the documented endpoints.&lt;/P&gt;

&lt;P&gt;All we know from him is that he is getting 404 errors. How to troubleshoot and to rectify this? &lt;/P&gt;

&lt;P&gt;thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 13:39:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-troubleshoot-why-users-get-404-not-found-error-when/m-p/202953#M58926</guid>
      <dc:creator>Koushik_Katta</dc:creator>
      <dc:date>2016-12-20T13:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why users get 404 not found error when querying the REST endpoints?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-troubleshoot-why-users-get-404-not-found-error-when/m-p/202954#M58927</link>
      <description>&lt;P&gt;Can anyone help in this !&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2017 12:45:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-troubleshoot-why-users-get-404-not-found-error-when/m-p/202954#M58927</guid>
      <dc:creator>Koushik_Katta</dc:creator>
      <dc:date>2017-01-09T12:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why users get 404 not found error when querying the REST endpoints?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-troubleshoot-why-users-get-404-not-found-error-when/m-p/202955#M58928</link>
      <description>&lt;P&gt;Koushik;&lt;/P&gt;

&lt;P&gt;Have you checked to make sure that the users who are trying to use the REST endpoints are part of a role that contains the 'REST_' related capabilities?&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/217229/what-capabilities-does-a-rest-api-only-user-need.html"&gt;https://answers.splunk.com/answers/217229/what-capabilities-does-a-rest-api-only-user-need.html&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2017 13:31:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-troubleshoot-why-users-get-404-not-found-error-when/m-p/202955#M58928</guid>
      <dc:creator>paimonsoror</dc:creator>
      <dc:date>2017-01-09T13:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why users get 404 not found error when querying the REST endpoints?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-troubleshoot-why-users-get-404-not-found-error-when/m-p/202956#M58929</link>
      <description>&lt;P&gt;The user have been set to basic_user role, will if i give power user to him will it work&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 14:06:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-troubleshoot-why-users-get-404-not-found-error-when/m-p/202956#M58929</guid>
      <dc:creator>Koushik_Katta</dc:creator>
      <dc:date>2017-01-11T14:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why users get 404 not found error when querying the REST endpoints?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-troubleshoot-why-users-get-404-not-found-error-when/m-p/202957#M58930</link>
      <description>&lt;P&gt;I dont believe power has the rest capabilities by default.  You may want to create a new role called 'user_with_rest' which extends the 'user' role, and just adds the rest capabilities.&lt;/P&gt;

&lt;P&gt;This way you are not granting the person more rights than necessary.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:26:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-troubleshoot-why-users-get-404-not-found-error-when/m-p/202957#M58930</guid>
      <dc:creator>paimonsoror</dc:creator>
      <dc:date>2020-09-29T12:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why users get 404 not found error when querying the REST endpoints?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-troubleshoot-why-users-get-404-not-found-error-when/m-p/202958#M58931</link>
      <description>&lt;P&gt;When he is accessing the URLs in the documentation which he is working on REST-API (splunk.xxxxxx.com/services/search/jobs)he was redirected to en-US and given a 404 error&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 14:34:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-troubleshoot-why-users-get-404-not-found-error-when/m-p/202958#M58931</guid>
      <dc:creator>Koushik_Katta</dc:creator>
      <dc:date>2017-01-11T14:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why users get 404 not found error when querying the REST endpoints?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-troubleshoot-why-users-get-404-not-found-error-when/m-p/202959#M58932</link>
      <description>&lt;P&gt;Even after you added the REST related capabilities to his user role?&lt;/P&gt;

&lt;P&gt;Did you include port 8089 in the url? (the example you gave is missing the port)&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 15:11:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-troubleshoot-why-users-get-404-not-found-error-when/m-p/202959#M58932</guid>
      <dc:creator>paimonsoror</dc:creator>
      <dc:date>2017-01-11T15:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why users get 404 not found error when querying the REST endpoints?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-troubleshoot-why-users-get-404-not-found-error-when/m-p/202960#M58933</link>
      <description>&lt;P&gt;No he haven't included port , the thing i understood from him is he is trying to create a saved search as per document &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.3/RESTTUT/RESTsearches"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.3/RESTTUT/RESTsearches&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;when he is trying to give splunk.xxxxxx.com/services/search/jobs it is giving 404 Error . &lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 15:04:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-troubleshoot-why-users-get-404-not-found-error-when/m-p/202960#M58933</guid>
      <dc:creator>Koushik_Katta</dc:creator>
      <dc:date>2017-01-12T15:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why users get 404 not found error when querying the REST endpoints?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-troubleshoot-why-users-get-404-not-found-error-when/m-p/202961#M58934</link>
      <description>&lt;P&gt;You need to specify the port since the RESTful services are not on the default web port.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://mysearchhead.server.com:8089/services/search/jobs"&gt;https://mysearchhead.server.com:8089/services/search/jobs&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 18:55:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-troubleshoot-why-users-get-404-not-found-error-when/m-p/202961#M58934</guid>
      <dc:creator>paimonsoror</dc:creator>
      <dc:date>2017-01-12T18:55:54Z</dc:date>
    </item>
  </channel>
</rss>

