<?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: AuthenticationFailed during Import in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/AuthenticationFailed-during-Import/m-p/490775#M60420</link>
    <description>&lt;P&gt;Answers:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt; Yes. In fact, it has been working for about 4 months, and stopped recently, on 01/21/2020.
&lt;IMG src="https://www.dropbox.com/s/8fi35o1drg4bedm/splunksnip.PNG" alt="alt text" /&gt;&lt;/LI&gt;
&lt;LI&gt; Yes. I downgraded to the Free License on this installation on 12/20/2019&lt;/LI&gt;
&lt;LI&gt;No, I haven't restarted Splunk on this machine when we started seeing the errors, but I have since updating other apps.&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Thu, 23 Jan 2020 18:49:01 GMT</pubDate>
    <dc:creator>richardphung</dc:creator>
    <dc:date>2020-01-23T18:49:01Z</dc:date>
    <item>
      <title>AuthenticationFailed during Import</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/AuthenticationFailed-during-Import/m-p/490773#M60418</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;2020-01-23 01:57:07,390 ERROR A general exception was thrown when executing the import
Traceback (most recent call last):
  File "D:\Program Files\Splunk\etc\apps\google_drive\bin\google_spreadsheet.py", line 211, in import_file
    last_updated = google_lookup_sync.import_to_lookup_file(lookup_name, None, None, spreadsheet_title, worksheet_name, session_key, create_if_non_existent=False)
  File "D:\Program Files\Splunk\etc\apps\google_drive\bin\google_drive_app\__init__.py", line 293, in import_to_lookup_file
    splunk_lookup_table = lookupfiles.SplunkLookupTableFile.get(lookupfiles.SplunkLookupTableFile.build_id(lookup_name, namespace, owner), sessionKey=session_key)
  File "D:\Program Files\Splunk\Python-2.7\lib\site-packages\splunk\models\base.py", line 572, in get
    return SplunkRESTManager(cls, sessionKey=sessionKey).get(id)
  File "D:\Program Files\Splunk\Python-2.7\lib\site-packages\splunk\models\base.py", line 552, in get
    entity = self._get_entity(id, host_path=host_path)
  File "D:\Program Files\Splunk\Python-2.7\lib\site-packages\splunk\models\base.py", line 468, in _get_entity
    return self._fix_entity(splunk.entity.getEntity(self.model.resource, None, sessionKey=self.sessionKey, uri=id))
  File "D:\Program Files\Splunk\Python-2.7\lib\site-packages\splunk\entity.py", line 276, in getEntity
    serverResponse, serverContent = rest.simpleRequest(uri, getargs=kwargs, sessionKey=sessionKey, raiseAllErrors=True)
  File "D:\Program Files\Splunk\Python-2.7\lib\site-packages\splunk\rest\__init__.py", line 553, in simpleRequest
    raise splunk.AuthenticationFailed
AuthenticationFailed: [HTTP 401] Client is not authenticated
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please advise.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 17:45:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/AuthenticationFailed-during-Import/m-p/490773#M60418</guid>
      <dc:creator>richardphung</dc:creator>
      <dc:date>2020-01-23T17:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: AuthenticationFailed during Import</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/AuthenticationFailed-during-Import/m-p/490774#M60419</link>
      <description>&lt;P&gt;Could you be so kind as to answer the following questions in order to help me troubleshoot the issue:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Has the input ever worked? I'm trying to figure out if this is an intermittent error.&lt;/LI&gt;
&lt;LI&gt;Do you happen to be using the free license?&lt;/LI&gt;
&lt;LI&gt;Does this seem to coincide with Splunk starting or shutting down? Asking because I have seen errors like this happen on startup and shutdown.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Thu, 23 Jan 2020 18:21:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/AuthenticationFailed-during-Import/m-p/490774#M60419</guid>
      <dc:creator>LukeMurphey</dc:creator>
      <dc:date>2020-01-23T18:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: AuthenticationFailed during Import</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/AuthenticationFailed-during-Import/m-p/490775#M60420</link>
      <description>&lt;P&gt;Answers:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt; Yes. In fact, it has been working for about 4 months, and stopped recently, on 01/21/2020.
&lt;IMG src="https://www.dropbox.com/s/8fi35o1drg4bedm/splunksnip.PNG" alt="alt text" /&gt;&lt;/LI&gt;
&lt;LI&gt; Yes. I downgraded to the Free License on this installation on 12/20/2019&lt;/LI&gt;
&lt;LI&gt;No, I haven't restarted Splunk on this machine when we started seeing the errors, but I have since updating other apps.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Thu, 23 Jan 2020 18:49:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/AuthenticationFailed-during-Import/m-p/490775#M60420</guid>
      <dc:creator>richardphung</dc:creator>
      <dc:date>2020-01-23T18:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: AuthenticationFailed during Import</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/AuthenticationFailed-during-Import/m-p/490776#M60421</link>
      <description>&lt;P&gt;I disabled and then reenabled the input.&lt;/P&gt;

&lt;P&gt;I get a slightly different error:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2020-01-23 14:54:22,812 ERROR Execution failed
Traceback (most recent call last):
  File "D:\Program Files\Splunk\etc\apps\google_drive\bin\modular_input.zip\modular_input\modular_input_base_class.py", line 1095, in execute
    self.do_run(in_stream, log_exception_and_continue=True)
  File "D:\Program Files\Splunk\etc\apps\google_drive\bin\modular_input.zip\modular_input\modular_input_base_class.py", line 964, in do_run
    if ServerInfo.is_shc_captain(input_config.session_key) == False:
  File "D:\Program Files\Splunk\etc\apps\google_drive\bin\modular_input.zip\modular_input\shortcuts.py", line 31, in wrapper
    return function(*args, **kwargs)
  File "D:\Program Files\Splunk\etc\apps\google_drive\bin\modular_input.zip\modular_input\server_info.py", line 154, in is_shc_captain
    if not cls.is_on_shc(session_key):
  File "D:\Program Files\Splunk\etc\apps\google_drive\bin\modular_input.zip\modular_input\shortcuts.py", line 31, in wrapper
    return function(*args, **kwargs)
  File "D:\Program Files\Splunk\etc\apps\google_drive\bin\modular_input.zip\modular_input\server_info.py", line 111, in is_on_shc
    except splunk.ResourceNotFound:
NameError: global name 'splunk' is not defined
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Jan 2020 19:56:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/AuthenticationFailed-during-Import/m-p/490776#M60421</guid>
      <dc:creator>richardphung</dc:creator>
      <dc:date>2020-01-23T19:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: AuthenticationFailed during Import</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/AuthenticationFailed-during-Import/m-p/490777#M60422</link>
      <description>&lt;P&gt;This particular error should be fixed in version 2.0.3: &lt;A href="https://splunkbase.splunk.com/app/2630/"&gt;https://splunkbase.splunk.com/app/2630/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 01:45:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/AuthenticationFailed-during-Import/m-p/490777#M60422</guid>
      <dc:creator>LukeMurphey</dc:creator>
      <dc:date>2020-01-24T01:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: AuthenticationFailed during Import</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/AuthenticationFailed-during-Import/m-p/490778#M60423</link>
      <description>&lt;P&gt;@LukeMurphey&lt;BR /&gt;
This fixed everything.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 15:39:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/AuthenticationFailed-during-Import/m-p/490778#M60423</guid>
      <dc:creator>richardphung</dc:creator>
      <dc:date>2020-01-24T15:39:15Z</dc:date>
    </item>
  </channel>
</rss>

