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!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...