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!

Get Schooled with Splunk Education: Explore Our Latest Courses

At Splunk Education, we’re dedicated to providing incredible learning experiences that cater to every skill ...

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...