Without any changes to the starter kit, the Sync demo is failing for me:
2020-12-05T12:12:24.139Z Twilsock W: Init rejected by server: {"code":401,"status":"UNAUTHORIZED","description":"The authorization with Token failed","errorCode":20151}
I've provided the four credentials required to make that demo work, but maybe telling you the steps I took to get them will help us figure out where the problem lies:
Clone the Twilio SDK Starter Application for Python, copying the instructions for making your own .env file.
Log into your Twilio account.
Go here to create a new Twilio Sync app. Gather the secret and SID and plunk them into your .env file in the Twilio starter app as TWILIO_API_SECRET and TWILIO_API_KEY, respectively. Also, gather your service SID from the single entry here (Sync Services) and put that in for TWILIO_SYNC_SERVICE_SID. Finally, add your TWILIO_ACCOUNT_SID which can be found here.
Without any changes to the starter kit, the Sync demo is failing for me:
2020-12-05T12:12:24.139Z Twilsock W: Init rejected by server: {"code":401,"status":"UNAUTHORIZED","description":"The authorization with Token failed","errorCode":20151}I've provided the four credentials required to make that demo work, but maybe telling you the steps I took to get them will help us figure out where the problem lies:
Clone the Twilio SDK Starter Application for Python, copying the instructions for making your own .env file.
Log into your Twilio account.
Go here to create a new Twilio Sync app. Gather the secret and SID and plunk them into your .env file in the Twilio starter app as TWILIO_API_SECRET and TWILIO_API_KEY, respectively. Also, gather your service SID from the single entry here (Sync Services) and put that in for TWILIO_SYNC_SERVICE_SID. Finally, add your TWILIO_ACCOUNT_SID which can be found here.