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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...