All Apps and Add-ons

Twilio SMS Alerting: How do you fix Alert action script returned error code=2?

msg64
New Member

I sent my first SMS message to my phone today. I tried it multiple times but none of my messages are delivered. I looked at the "View log events" and it tells me "-1000 WARN sendmodalert - action=twilio - Alert action script returned error code=2". Can someone help?

0 Karma

585131
New Member

Hi ,
In my case I got the same error and also I tried the earlier method I mentioned.
But the resolution was so simple that I have given my Account Sid and auth token of twilio wrong in the setup.
When I provided it correctly the issue was resolved.I was able to receive text messages in mobile.

0 Karma

585131
New Member

This is because the ca-certificates are not upto date. This is a SSL error. We need to update our ca-certificates in our system.

0 Karma

amanediel
Explorer

hi @msg64 ,

Were you able to solve this issue?

0 Karma
Get Updates on the Splunk Community!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...