Using API v1? See what changes in v2, or the v1 docs
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
getSessionTokenfailed or could not be reached - It responded without a
token(it should return{ "token": "pcs_..." }, as the SDK'ssessionHandlerdoes) - Your server has no live API key set