Skip to main content
Question

SMS with twilio transformer not working for international number

  • January 26, 2018
  • 4 replies
  • 25 views

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

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

LizAtSafe
Safer
Forum|alt.badge.img+18
  • Safer
  • 1542 replies
  • 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
  • 212 replies
  • 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+18
  • Safer
  • 1542 replies
  • February 1, 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

@boubcher,

 

Do you get the same issue with the TwilioCaller?

 


Forum|alt.badge.img
  • 7 replies
  • 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!