Error code: 40006 - Invalid Connection ID

You tried to publish a message specifying a specific connection ID as the publisher, but used a connection ID that was not well-formed, or you used a realtime publish with a connection ID that did not match that of the current connection.

This error code is also used in the case where the connection is identified and the client ID resolved with the request (from authentication or explicit clientID provided) is missing or wrong.

For further information on connection IDs. Please see the following documentation for more information

 

If you have any questions about this, or any other part of Ably, please contact support@ably.com