I am trying to follow the following Twilio Autopilot tutorial https://www.twilio.com/docs/autopilot/quickstart/python?code-sample=code-create-your-first-assistant-with-autopilot-7&code-language=Python&code-sdk-version=6.x
I am trying to create my first assistant with autopilot and my own account_sid and auth_token.
# Download the helper library from
https://www.twilio.com/docs/python/install
from twilio.rest import Client
# Your Account Sid and Auth Token from twilio.com/console
# DANGER! This is insecure. See http://twil.io/secure
account_sid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
auth_token = 'your_auth_token'
client = Client(account_sid, auth_token)
assistant = client.autopilot \
.assistants \
.create(
friendly_name='Quickstart Assistant',
unique_name='quickstart-assistant'
)
print(assistant.sid)
However i receive the following error when i try execute the script.
