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!

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...