video-access-token-server-python icon indicating copy to clipboard operation
video-access-token-server-python copied to clipboard

Change environment variable TWILIO_API_KEY to TWILIO_API_KEY_SID

Open rfbrazier opened this issue 10 years ago • 2 comments

This is a minor suggestion, but it might make the quickstart easier to follow. The API Key creation page refers to this value as simply "Sid", but the current name used for the constant is TWILIO_API_KEY. It's not immediately obvious to the reader that Sid == TWILIO_API_KEY, so may want to be more explicit.

rfbrazier avatar Dec 15 '15 23:12 rfbrazier

@rfbrazier Honestly this is driving me nuts. What is all this? Only acount sid is specified. the rest require guess work. So are account SID and API key the same? What is the secret?

"TWILIO_ACCOUNT_SID":,
  "TWILIO_API_KEY":"",
  "TWILIO_API_SECRET":

otymartin avatar Dec 28 '16 05:12 otymartin

Invalid Access Token. Please make sure you are using the correct credentials.

Error Code: 20101

I still receive that error, I have setup my environmental variables like below:

TWILIO_ACCOUNT_SID= TWILIO_API_KEY_SID= TWILIO_API_KEY_SECRET=

according to https://www.twilio.com/blog/twilio-access-tokens-python

Diego759 avatar Feb 08 '21 01:02 Diego759