Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

voice-javascript-sdk-quickstart-python twilio.Device Error: AccessTokenInvalid (20101): #50

Open
oplatek opened this issue Jan 31, 2023 · 5 comments

Comments

@oplatek
Copy link

oplatek commented Jan 31, 2023

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
Screenshot 2023-01-31 at 15 27 59

@welcome
Copy link

welcome bot commented Jan 31, 2023

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)
picture of dog

@ianwhillans
Copy link

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

@edwinrozendom
Copy link

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

@alimurtaza026
Copy link

Hi guys, check if you set it up correctly

@muhaiminShihab
Copy link

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 Screenshot 2023-01-31 at 15 27 59

I had the same issue. How I can fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants