Discussions

Ask a Question
Back to All

Unable to start an interactive session using API.

When I create a session, the session state is set to new, once I try to hit the endpoint to start the session I get this error:

{
  "code": 400006,
  "message": "Peer connection state is invalid to set remote description. State: new"
}

then, the session state becomes "Connecting". so I try to start the session again and I get this response:

{
  "code": 10002,
  "message": "session state wrong: connecting"
}

then, the session gets closed, it never makes it to "connected".
Please note that I am using a trial token for testing purposes.