Hi @Mukti,
It seems you’re encountering a 401 error, which indicates that authorization was not completed successfully.
Please refer to the authentication documentation to generate an access token.
Note: The access token expires daily at 3:30 AM. Additionally, generating a new access token will invalidate any previously issued token.
For a simplified implementation of WebSocket functionalities, you can explore the streamer features available in various SDKs:
Hope this helps!