CONNECT_SESSION_FAILED

Your server could not create a connect session.

HTTP status: none (PyasConnect reports this error in the browser). Retrying the same request may succeed.

What to do

Open your session endpoint's logs, set its live API key, and make it return { token }. The person can try again from the dialog.

Hint returned with the error: Check your session endpoint: the error event's message includes what it returned.

Why it happens

  • The endpoint behind getSessionToken failed or could not be reached
  • It responded without a token (it should return { "token": "pcs_..." }, as the SDK's sessionHandler does)
  • Your server has no live API key set