Skip to content

invalid_state ​

Invalid state

The method was called when it cannot work — leave() before join(), enableCamera() after the room ended, a call naming both to and queue, join(), call() or accept() while the client is in a room, hangup() on a call still ringing on this side.

What to do: A bug in the calling code: check the client's state before calling.

Where it comes from:

  • Raised by @talkline/core itself, never by a server

Branch on code; detail is for your logs and never for a user. All error codes.

Talkline documentation