Hi I set up Twilio on SMA, but cant send sms not even from newsale.
sms error log:
SMS.ERROR: Twilio response {“error”:“Client error: POST https://api.twilio.com/2010-04-01/Accounts/AC761b7c5e90e96e69ded8eb8921158e2d/Messages.json
resulted in a 400 Bad Request
response:\n{"code": 21604, "message": "A ‘To’ phone number is required.", "more_info": "https://www.twilio.com/docs/errors/21604\”
Message can be sent fron twilio website. Am I missing something?
Online suggestion * twilio connector version 3.0.4 error or Twilio API only accepts requests with the body formatted as “application/x-www-form-urlencoded”, not sure what they meant by that. Thanks
- MSAnswered
Hello,
Did you check the customer phone number? You can try the log gateway to check.
SMS packages uses
giggsey/libphonenumber-for-php
to parse phone numbers.Thank you
- PBAnswered
Hi, Twilio didn’t work on SMA, if it worked for anyone, please advice. Thanks
- MSAnswered
Hello,
If Log gateway working? You can try to add Twillio as customo gateway too.
Thank you
- Login to Reply