Regarding JWT URL

I am trying to run a chatbot via websdk. I am facing issues with JWT URL. I saw many links for this issue, tried but not successed.

After setting the Client ID, secret key, bot name and ID and JWT URL http://localhost:3000/api/users/sts. I ran the npm server.js to start the local host.

Still the JWT still shows, "Cannot POST /api/users/sts "

I tried with http://demo.kore.net:3000/users/sts , it shows the error :
slight_smile: net::ERR_CONNECTION_REFUSED

Kore.ai V 8.1.9, Is there a thing I am missing with trhe JWT URL. How do I make this JWL Url run?

@nethra.s
Please do not user demo.kore.net URL . It will not work and moreover it is for internal use of Kore.

Try to follow this.

It seems like you needed to do
npm install
and
node startServer.js
but that is not the command you have mentioned in your question.

Hello there,

Thank you for the SDK, Now I can able to run the chat in local host.

Thank you.

1 Like