Twilio Integration error!

dhirajwakodikar
Kilo Expert

Hello everyone,

I am working on twilio and facing certain issues. Could any of you just help me out with it ?

I created a Rest message, i referred following link:

Twilio SMS Integration

I initially got authentication errors, i resolved those.   Now i am getting status code 400 error saying-   "A 'From' phone number is required."

Attaching the snapshots, please help if possible:

error1.jpgerror2.jpgerror3.jpgerror4.jpgerror5.jpg

2 REPLIES 2

jeroen9
ServiceNow Employee
ServiceNow Employee

Hi Dhiraj,



It looks like you are trying to set up your own Twilio integration. It should be possible to build your own integration, but are you aware that ServiceNow actually provides the Notify plugin which does just that in a very powerful way? In Geneva Notify was re-architected and rebuild from the ground up to run completely off the workflow engine making is really powerful and completely customizable. Please take a look at the Notify documentation, it might help you to get your integration working?



Regarding your question; when you want to integrate with Twilio and send SMS messages you need to buy a phone number with Twilio to send those SMS messages from. That is also the number they mention to use as a 'From' phone number. Note that certain international phone numbers with Twilio have different capabilities. Some can send a SMS message anywhere in the world where other numbers can only send SMS messages locally or nationally and other cannot send SMS messages at all. Please refer to Twilio's documentation for more information about phone number capabilities.



Cheers, Jeroen


Hi Jeroen,



I've allready tried notify plugin with twilio.


I somehow want to do it with rest/soap messages. Hence this issue.