Twilio task error: 'SMSFrom contains invalid phone number' despite correct credentials

Hello AppSheet Community,

I am configuring a native Twilio task in my AppSheet automation bot to send automated debt collection SMS reminders.

My Twilio Account SID, Auth Token, and the sender number in the From field (+12186632564) are correctly entered as plain text. However, every time I trigger a test run, the bot fails and returns these errors:

  • Error 1: Task field ‘SMSFrom’ contains invalid phone number ‘+12186632564’
  • Error 2: No SMS was created because ‘From’ is missing or invalid
  • Error 3: No SMS was created because ‘To’ is missing or invalid

The To field is dynamically mapped to a valid column ([CELULAR]). Has anyone encountered this specific validation error with the native Twilio task, and how can it be resolved?

Thank you in advance for your help!

Have you added the Country Codes to allow?

Also try removing the “+” from the start of the phone numbers.

(Actually, looking at my now disabled native action bot, my sender number didn’t even have the country code, while the recipient numbers did… but without the “+” but I may have changed those for the webhook script)

TBH I changed to sending SMS via a webhook so I could use an alpha caller ID which isn’t possible with the native Twilio action - works perfectly.