/
HTTP 422 Error when connecting to streams

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.

Related content

Max Number of Streams allowed
Max Number of Streams allowed
More like this
SSE Connection Best Practices
SSE Connection Best Practices
More like this
Managing Connections to a Stream
Managing Connections to a Stream
More like this
Streaming API FAQ
Streaming API FAQ
More like this
Data Reconciliation Strategy for High-Volume Inform Implementations
Data Reconciliation Strategy for High-Volume Inform Implementations
More like this
Improving Response Times using HTTP Keep-Alive
Improving Response Times using HTTP Keep-Alive
More like this