<?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 fix error sendtophantom: Alert action script returned error code=1? in Splunk SOAR</title>
    <link>https://community.splunk.com/t5/Splunk-SOAR/How-to-fix-error-sendtophantom-Alert-action-script-returned/m-p/619796#M1005</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have recently switched from Phantom to SOAR and I'm trying to send our triggered alerts to SOAR.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The TA we are using is Splunk for SOAR Export&lt;/P&gt;
&lt;P&gt;I have tested that from Splunk Enterprise to SOAR connect and it works.&lt;/P&gt;
&lt;P&gt;But I keep getting the following error for one alert&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;11-04-2022 05:31:21.724 +1100 WARN  sendmodalert [17285 AlertNotifierWorker-0] - action=sendtophantom - Alert action script returned error code=1

11-04-2022 05:31:21.724 +1100 INFO  sendmodalert [17285 AlertNotifierWorker-0] - action=sendtophantom - Alert action script completed in duration=1394 ms with exit code=1&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This question was also asked in alerting as well.&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/Splunk-SOAR-f-k-a-Phantom/Unable-to-add-auth-token-or-add-phantom-instance/m-p/344908" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Splunk-SOAR-f-k-a-Phantom/Unable-to-add-auth-token-or-add-phantom-instance/m-p/344908&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But I feel like it could be the wrong channel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Nov 2022 15:42:03 GMT</pubDate>
    <dc:creator>freddy_Guo</dc:creator>
    <dc:date>2022-11-08T15:42:03Z</dc:date>
    <item>
      <title>How to fix error sendtophantom: Alert action script returned error code=1?</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/How-to-fix-error-sendtophantom-Alert-action-script-returned/m-p/619796#M1005</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have recently switched from Phantom to SOAR and I'm trying to send our triggered alerts to SOAR.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The TA we are using is Splunk for SOAR Export&lt;/P&gt;
&lt;P&gt;I have tested that from Splunk Enterprise to SOAR connect and it works.&lt;/P&gt;
&lt;P&gt;But I keep getting the following error for one alert&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;11-04-2022 05:31:21.724 +1100 WARN  sendmodalert [17285 AlertNotifierWorker-0] - action=sendtophantom - Alert action script returned error code=1

11-04-2022 05:31:21.724 +1100 INFO  sendmodalert [17285 AlertNotifierWorker-0] - action=sendtophantom - Alert action script completed in duration=1394 ms with exit code=1&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This question was also asked in alerting as well.&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/Splunk-SOAR-f-k-a-Phantom/Unable-to-add-auth-token-or-add-phantom-instance/m-p/344908" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Splunk-SOAR-f-k-a-Phantom/Unable-to-add-auth-token-or-add-phantom-instance/m-p/344908&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But I feel like it could be the wrong channel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 15:42:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/How-to-fix-error-sendtophantom-Alert-action-script-returned/m-p/619796#M1005</guid>
      <dc:creator>freddy_Guo</dc:creator>
      <dc:date>2022-11-08T15:42:03Z</dc:date>
    </item>
  </channel>
</rss>

