Why get token not working in twilio chat JS

189 Views Asked by At

i was just using the twilio chat library for JS when i run in localhost tried login as guest.i am getting this error :

http://localhost:81/getToken?identity=frend&endpointId=394c15ba68f92e147e827c08b54799e1 404 Not Found

my path to directory was

http://localhost:81/JSCli/twilio-chat-demo-js-master/public/

but its redirecting to above one in twilio chat demo js .can anyone help me on this.thanks in advance.

1

There are 1 best solutions below

0
On

that /gettoken doesn't exists in the library which we'll download from github twilio js chat demo. we have to create a file which will generate the access token for twilio operations.