21661: 'From' number is not SMS-capable
MESSAGING
ERROR
This error occurs when the value you pass in From is not a Twilio phone number that can send SMS. If you specify from in <Message>, it must be a message-capable local phone number assigned to your account.
- The
Fromvalue is a Twilio phone number on your account that does not have SMS capability. - You specified
fromin<Message>with a phone number that is not message-capable. - You purchased or selected a number for another use case, such as voice, without confirming that SMS is enabled for that number.
- Use a Twilio phone number that shows SMS capability and belongs to the account sending the message.
- Buy an SMS-capable Twilio phone number if your current number does not support SMS.
- If you send with a Messaging Service, add at least one phone number or channel address to the Sender Pool, ensure it is SMS-capable, and send with
MessagingServiceSidinstead ofFrom.