code-exchange
code-exchange copied to clipboard
voice-javascript-sdk-quickstart-python twilio.Device Error: AccessTokenInvalid (20101):
Where has this bug occurred? I followed the instructions in README
Describe the bug The event log contains the error which prevents making any further call.
> Requesting Access Token...
> Got a token.
> Initializing device
> Twilio.Device Error: AccessTokenInvalid (20101): Twilio was unable to validate your Access Token
To Reproduce I followed the README on linux Ubuntu 20.04 server and tried two versions of twilio JS SDK "twilio-voice.js-2.0.1" and "twilio-voice.js-2.3.0" with the same result. And use MacOS Safari for client.
Any tips how to setup my twilio account or use this example are very welcome.
Screenshots
Thank you so much for opening your first issue in this project! We'll try to get back to it as quickly as possible.
While you are waiting...here's a random picture of a corgi (powered by dog.ceo)
also having the same issue, hoping I'm not just daft. Any help on this?
Requesting Access Token...
Got a token. Initializing device Twilio.Device Error: AccessTokenInvalid (20101): Twilio was unable to validate your Access Token
Are you using a different Twilio region? I had the same problem, but solved it by specifying the Twilio region. See: https://www.twilio.com/docs/iam/access-tokens#step-3-generate-token
Hi guys, check if you set it up correctly
Where has this bug occurred? I followed the instructions in README
Describe the bug The event log contains the error which prevents making any further call.
> Requesting Access Token... > Got a token. > Initializing device > Twilio.Device Error: AccessTokenInvalid (20101): Twilio was unable to validate your Access Token
To Reproduce I followed the README on linux Ubuntu 20.04 server and tried two versions of twilio JS SDK "twilio-voice.js-2.0.1" and "twilio-voice.js-2.3.0" with the same result. And use MacOS Safari for client.
Any tips how to setup my twilio account or use this example are very welcome.
Screenshots
I had the same issue. How I can fix this?