I'm trying to send a message using twilio and I get the error below. How do I resolve this error?
import os
from twilio.rest import Client
account_sid = os.environ['testtest']
auth_token = os.environ['testtesttest']
client = Client(account_sid, auth_token)
message = client.messages \
.create(
body="Join Earth's mightiest heroes. Like Kevin Bacon.",
from_='+16813203595',
to='+12345678'
)
print(message.sid)
raise KeyError(key) from None
KeyError: 'testtest'