profile
viewpoint

Ask questionsError: keySid is required when joining room from local server

Describe the bug When I run npm start and try to join a room on my dev box, a dialog comes up with an auth error, and there is a log message saying "Error: keySid is required".

To Reproduce

  1. git clone git@github.com:twilio/twilio-video-app-react.git
  2. cd twilio-video-app-react/
  3. npm install
  4. Add vars to .env:
TWILIO_ACCOUNT_SID=AC...
TWILIO_API_KEY=SK...
TWILIO_API_SECRET=...
TWILIO_AUTH_TOKEN=...
  1. npm start
  2. In browser, type a name and room and click the JOIN ROOM button.

Expected behavior I expected it to join the room.

Screenshots Screen Shot 2020-04-21 at 12 04 42 PM

Screen Shot 2020-04-21 at 12 04 51 PM

Environment (please complete the following information):

  • OS: Mac OS X Mojave
  • Browser:Chrome
  • App Version: 9b4e47538545305af03b88aa146839c81c0fdabc
  • SDK Version: 2.0.10
  • Node.js version: 13.11.0
twilio/twilio-video-app-react

Answer questions ijt

My mistake. The .env vars needed to be

TWILIO_ACCOUNT_SID=AC...
TWILIO_API_KEY_SID=SK...
TWILIO_API_KEY_SECRET=...
TWILIO_AUTH_TOKEN=...

All I had to do was jump in and look where the stack trace pointed: line 17 of server.js.

useful!

Related questions

No questions were found.
Github User Rank List