Trouble with Websocket_api

Sorry for being a newbee… But how do I do to solve it?