<?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 User does not exist error in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/User-does-not-exist-error/m-p/404823#M6965</link>
    <description>&lt;P&gt;I am seeing an error when attempting to use the REST API.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -X POST &lt;A href="https://localhost:8089/servicesNS/admin/search/data/indexes" target="test_blank"&gt;https://localhost:8089/servicesNS/admin/search/data/indexes&lt;/A&gt; -u splunkadmin:splunkadmin -d name=myindexname -k
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The given request gives me an error about a completely different user.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;response&amp;gt;
  &amp;lt;messages&amp;gt;
    &amp;lt;msg type="ERROR"&amp;gt;User does not exist: admin&amp;lt;/msg&amp;gt;
  &amp;lt;/messages&amp;gt;
&amp;lt;/response&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Looking at the configuration in Splunk Web, I don't even see such a user configured.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7151i802973B6BC3C37AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;The version is as follows.&lt;BR /&gt;
Splunk Enterprise&lt;BR /&gt;
Version: 7.2.6&lt;BR /&gt;
Build: c0bf0f679ce9&lt;/P&gt;

&lt;P&gt;Any idea what's going on?&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jun 2019 08:01:55 GMT</pubDate>
    <dc:creator>mvdobrinin</dc:creator>
    <dc:date>2019-06-05T08:01:55Z</dc:date>
    <item>
      <title>User does not exist error</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/User-does-not-exist-error/m-p/404823#M6965</link>
      <description>&lt;P&gt;I am seeing an error when attempting to use the REST API.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -X POST &lt;A href="https://localhost:8089/servicesNS/admin/search/data/indexes" target="test_blank"&gt;https://localhost:8089/servicesNS/admin/search/data/indexes&lt;/A&gt; -u splunkadmin:splunkadmin -d name=myindexname -k
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The given request gives me an error about a completely different user.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;response&amp;gt;
  &amp;lt;messages&amp;gt;
    &amp;lt;msg type="ERROR"&amp;gt;User does not exist: admin&amp;lt;/msg&amp;gt;
  &amp;lt;/messages&amp;gt;
&amp;lt;/response&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Looking at the configuration in Splunk Web, I don't even see such a user configured.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7151i802973B6BC3C37AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;The version is as follows.&lt;BR /&gt;
Splunk Enterprise&lt;BR /&gt;
Version: 7.2.6&lt;BR /&gt;
Build: c0bf0f679ce9&lt;/P&gt;

&lt;P&gt;Any idea what's going on?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 08:01:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/User-does-not-exist-error/m-p/404823#M6965</guid>
      <dc:creator>mvdobrinin</dc:creator>
      <dc:date>2019-06-05T08:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: User does not exist error</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/User-does-not-exist-error/m-p/404824#M6966</link>
      <description>&lt;P&gt;Hi @mvdobrinin,&lt;/P&gt;

&lt;P&gt;curl -X POST &lt;A href="https://localhost:8089/servicesNS/splunkadmin/search/data/indexes"&gt;https://localhost:8089/servicesNS/splunkadmin/search/data/indexes&lt;/A&gt; -u splunkadmin:splunkadmin -d name=myindexname -k&lt;BR /&gt;
In url also you need to use splunkadmin as you do not have admin user.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 13:57:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/User-does-not-exist-error/m-p/404824#M6966</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2019-06-05T13:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: User does not exist error</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/User-does-not-exist-error/m-p/404825#M6967</link>
      <description>&lt;P&gt;Thanks for the quick reply. That was the issue. The &lt;A href="http://dev.splunk.com/sdks"&gt;docs here&lt;/A&gt; were not clear on that.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 18:42:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/User-does-not-exist-error/m-p/404825#M6967</guid>
      <dc:creator>mvdobrinin</dc:creator>
      <dc:date>2019-06-05T18:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: User does not exist error</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/User-does-not-exist-error/m-p/404826#M6968</link>
      <description>&lt;P&gt;@mvdobrinin - In &lt;CODE&gt;servicesNS/admin/search/&lt;/CODE&gt;, &lt;CODE&gt;admin&lt;/CODE&gt; is user-name and &lt;CODE&gt;search&lt;/CODE&gt; is app-name.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 05:13:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/User-does-not-exist-error/m-p/404826#M6968</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2019-06-06T05:13:43Z</dc:date>
    </item>
  </channel>
</rss>

