Websocket connection closed with code 1008 Payload too long

Sometimes my websocket client connection is closed with code=1008, message=Payload too long.
What does that mean? I’m using only @depth20 subscriptions.

The message sent to the server included a body which was too large.

What language and library do you use?