Skip to main content
Question

SMS with twilio transformer not working for international number


boubcher
Contributor
Forum|alt.badge.img+11

when we use the transformer to send SMS to an international number, we are getting this error ( The 'To' number 9665657892 is not a valid phone number)

as you can see it removing the + sign from the number

( the number is only for reference)

same test was done on twilio platfro and its working

 

4 replies

LizAtSafe
Safer
Forum|alt.badge.img+15
  • Safer
  • January 30, 2018

Hi @boubcher, Twilio uses E.164 phone number formatting for all non-USA phone numbers. It looks like the TwilioSMSSender is assuming the 9665657892 phone number is North American and removing the +, if it is North American, add a 1 in front of it. If it isn't, you should use the Twilio provided phone number converter to change the number into the E.164 format.

Hope that helps!

-Liz


boubcher
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • January 31, 2018

thanks,@lizsanderson

we did enter the phone nuber respecting the E164 standard but it didn't work, I from the inspector noticed that FME is removing the "+" sign from the phone number


LizAtSafe
Safer
Forum|alt.badge.img+15
  • Safer
  • February 1, 2018
boubcher wrote:

thanks,@lizsanderson

we did enter the phone nuber respecting the E164 standard but it didn't work, I from the inspector noticed that FME is removing the "+" sign from the phone number

@boubcher,

 

Do you get the same issue with the TwilioCaller?

 


Forum|alt.badge.img
  • May 21, 2019

Hi there!

 

I am experiencing the same problem. In the Twilio Console I did configure the SMS Geographic Permission to be able to send a text to a foreign number and it does work on the Twilio site, but when I try to run the TwilioSMSSender Transformer in FME it removes the + sign and says Error 21211 The 'To' number ... is not a valid phone number. I also did verify the number on my Twilio console.

 

Can anyone help me with this?

Is it because I am using a Trial account? Or is it some other setting that I need to configure before I can get it to work?

 

FYI the TwilioSMSSender does work when I try to send a text to a number that is in the same country.

 

Thank you in advance!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings