Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
Attached is a picture of my account permissions from the dashboard page:
Source Link
watersheep23
  • 389
  • 2
  • 4
  • 19

I am following a Twilio guide to be able to send an SMS message from my Twilio phone number to my personal phone number, and for some reason, I am not receiving a message from my Twilio phone number when I run this code:

from twilio.rest import Client

account_sid = ACCOUNT_SID
auth_token = AUTH_TOKEN
client = Client(account_sid, auth_token)

message = client.messages \
    .create(
        body='Success!',
        from_=TWILIO_NUMBER,
        to=MY_NUMBER
    )
print(message.sid)

Where ACCOUNT_SID, AUTH_TOKEN, TWILIO_NUMBER, and MY_NUMBER are strings with the proper values. I was following this guide: https://www.twilio.com/docs/sms/send-messages . Thanks! EDIT - Attached is a picture of my account permissions from the dashboard page. Does this mean that I have to pay to send an SMS message from my Twilio phone number to my personal phone number?: enter image description here

I am following a Twilio guide to be able to send an SMS message from my Twilio phone number to my personal phone number, and for some reason, I am not receiving a message from my Twilio phone number when I run this code:

from twilio.rest import Client

account_sid = ACCOUNT_SID
auth_token = AUTH_TOKEN
client = Client(account_sid, auth_token)

message = client.messages \
    .create(
        body='Success!',
        from_=TWILIO_NUMBER,
        to=MY_NUMBER
    )
print(message.sid)

Where ACCOUNT_SID, AUTH_TOKEN, TWILIO_NUMBER, and MY_NUMBER are strings with the proper values. I was following this guide: https://www.twilio.com/docs/sms/send-messages . Thanks!

I am following a Twilio guide to be able to send an SMS message from my Twilio phone number to my personal phone number, and for some reason, I am not receiving a message from my Twilio phone number when I run this code:

from twilio.rest import Client

account_sid = ACCOUNT_SID
auth_token = AUTH_TOKEN
client = Client(account_sid, auth_token)

message = client.messages \
    .create(
        body='Success!',
        from_=TWILIO_NUMBER,
        to=MY_NUMBER
    )
print(message.sid)

Where ACCOUNT_SID, AUTH_TOKEN, TWILIO_NUMBER, and MY_NUMBER are strings with the proper values. I was following this guide: https://www.twilio.com/docs/sms/send-messages . Thanks! EDIT - Attached is a picture of my account permissions from the dashboard page. Does this mean that I have to pay to send an SMS message from my Twilio phone number to my personal phone number?: enter image description here

Source Link
watersheep23
  • 389
  • 2
  • 4
  • 19

Not receiving SMS message from Twilio phone number

I am following a Twilio guide to be able to send an SMS message from my Twilio phone number to my personal phone number, and for some reason, I am not receiving a message from my Twilio phone number when I run this code:

from twilio.rest import Client

account_sid = ACCOUNT_SID
auth_token = AUTH_TOKEN
client = Client(account_sid, auth_token)

message = client.messages \
    .create(
        body='Success!',
        from_=TWILIO_NUMBER,
        to=MY_NUMBER
    )
print(message.sid)

Where ACCOUNT_SID, AUTH_TOKEN, TWILIO_NUMBER, and MY_NUMBER are strings with the proper values. I was following this guide: https://www.twilio.com/docs/sms/send-messages . Thanks!