Getting Data In

Slack notification error code 1

Alicynx
New Member

I'm trying to get Slack alerts set on my Splunk Cloud instance but the test give me the following output:

04-14-2023 21:50:28.461 INFO  sendmodalert [11674 phase_1] - action=slack STDERR -  Slack API responded with HTTP status=200
04-14-2023 21:50:28.461 FATAL sendmodalert [11674 phase_1] - action=slack STDERR -  Alert action failed
04-14-2023 21:50:28.493 INFO  sendmodalert [11674 phase_1] - action=slack - Alert action script completed in duration=171 ms with exit code=1
04-14-2023 21:50:28.493 WARN  sendmodalert [11674 phase_1] - action=slack - Alert action script returned error code=1
04-14-2023 21:50:28.493 ERROR sendmodalert [11674 phase_1] - Error in 'sendalert' command: Alert script returned error code 1.
04-14-2023 21:50:28.494 INFO  ReducePhaseExecutor [11674 phase_1] - Ending phase_1

 

I can't find the meaning of error code 1 anywhere, and can't put this setup in debug to get more info from the deployment. Does anyone have an idea of what this code means so I can get this functional?

0 Karma

vn_g
Path Finder

Error Message : WARN sendmodalert [3050674 AlertNotifierWorker-0] - action=slack - Alert action script returned error code=1

 

Even I am getting the same error, Was this resolved? What was the fix?

What does this error mean? No documentation in git link as well.

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...