Option chain api error 1006

I am trying to access option chain from your websocket, connection is established, but after some time within one minute the connection is closed abnormally with error code 1006 with no reason how to resolve the issue

Apologies for the late reply. Could you please upload your code to GitHub or any other platform where we can access it? Please share the link with us so we can assist you better.