<?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: Getting error with access token string- How do I fix? in Splunk SOAR</title>
    <link>https://community.splunk.com/t5/Splunk-SOAR/How-to-fix-error-with-access-token-string/m-p/606540#M913</link>
    <description>&lt;P&gt;Can I please get some response on this&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jul 2022 16:09:29 GMT</pubDate>
    <dc:creator>jeffminkah20</dc:creator>
    <dc:date>2022-07-21T16:09:29Z</dc:date>
    <item>
      <title>How to fix error with access token string?</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/How-to-fix-error-with-access-token-string/m-p/606347#M907</link>
      <description>&lt;P&gt;Am trying to access Crowdstrike Intel endpoint where oauth2 token is needed. When I test asset connectivity, I get below error message which I believe is due to the length of the token string. How do I fix this error ?&lt;/P&gt;
&lt;P&gt;ERROR MESSAGE&lt;/P&gt;
&lt;DIV&gt;&lt;SPAN class=""&gt;Using provided token to authenticate&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=""&gt;Got error: 401&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=""&gt;2 actions failed handle_action exception occurred. Error string: ''access_token''&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Jul 2022 16:14:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/How-to-fix-error-with-access-token-string/m-p/606347#M907</guid>
      <dc:creator>jeffminkah20</dc:creator>
      <dc:date>2022-07-21T16:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error with access token string- How do I fix?</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/How-to-fix-error-with-access-token-string/m-p/606540#M913</link>
      <description>&lt;P&gt;Can I please get some response on this&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 16:09:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/How-to-fix-error-with-access-token-string/m-p/606540#M913</guid>
      <dc:creator>jeffminkah20</dc:creator>
      <dc:date>2022-07-21T16:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to fix error with access token string?</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/How-to-fix-error-with-access-token-string/m-p/606544#M914</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/247852"&gt;@jeffminkah20&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What version of SOAR are you on and which app specifically are you using? CrowdStrike OAUTH? ANd what version of the app?&lt;BR /&gt;&lt;BR /&gt;Are you definitely putting the correct items in the correct configuration parameters in the asset? I can't see them being too long as being the issue as they would be generated by CrowdStrike and they built the app. I have also seen many customers use this app with no issues setting up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are in version 5.x of SOAR then you can access the IDE by pressing the eye symbol to the right of the app and view the code and also run the "test connectivity" action where you should be able to see a bit more verbosity output in the window below.&lt;/P&gt;&lt;P&gt;The error seems to relate to the code trying to grab the `access_token` key from either the REST call response or from the local state file but without more verbosity in the error message I can't pin down the code section that is actually erroring, but i suspect it's the `_get_token` function which doesn't really have a lot of moving parts which is why i think maybe the auth items (client_id &amp;amp; client_secret) may be either incorrect or not allowed to generate a token on the CS side?&lt;BR /&gt;&lt;BR /&gt;Validate all the configuration items, then look to use the IDE to see if you can get more verbosity. You can also clone it and add some debugging statements in to see what's being calculated and what isn't. The `access_string` key seems to relate to the constant&amp;nbsp;CROWDSTRIKE_OAUTH_ACCESS_TOKEN_STRING.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 16:26:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/How-to-fix-error-with-access-token-string/m-p/606544#M914</guid>
      <dc:creator>phanTom</dc:creator>
      <dc:date>2022-07-21T16:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to fix error with access token string?</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/How-to-fix-error-with-access-token-string/m-p/606558#M915</link>
      <description>&lt;P&gt;Thanks for your response. Cloning the app and debugging helped fix the error.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 18:44:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/How-to-fix-error-with-access-token-string/m-p/606558#M915</guid>
      <dc:creator>jeffminkah20</dc:creator>
      <dc:date>2022-07-21T18:44:23Z</dc:date>
    </item>
  </channel>
</rss>

