HTTP 422 Error when connecting to streams

This article pertains to: Inform (v2)

Validic allows up to 3 client connections to a single stream resource (for replay streams, this is up to 5 client connections). When a client disconnects, The Streaming API initiates internal processing to rebalance the stream across the remaining connected clients.

Validic will not internally release the client connection until the rebalancing process is complete. Ideally, this should not be an issue. However, if the number of maximum of client connections is reached, a client disconnect followed by a quick reconnect may result in an HTTP 422 error. This indicates that the rebalancing process isn't complete.

The customer should attempt several retries with a back-off to accommodate this scenario.