WebSocket error: Handshake status 401 Unauthorized

WebSocket error: Handshake status 401 Unauthorized -±± {‘date’: ‘Thu, 14 Nov 2024 16:43:18 GMT’, ‘transfer-encoding’: ‘chunked’, ‘connection’: ‘keep-alive’} -±± None WebSocket connection closed with code: None message: None

[7]:

True…getting this error …

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!