WebSocket issue

er_neerajkumar27
I unable to use websocket, when I try to run with my access_Key and token, Please help me to fix this issue it show me error:
(base) PS C:\Users\pc> & C:/Users/pc/AppData/Local/Programs/Python/Python313/python.exe "c:/Users/pc/Desktop/dinamic web/tryone.py"
Connection error: 1006 - connection was closed uncleanly (WebSocket connection upgrade failed (403 - Forbidden))
Connection closed: 1006 - connection was closed uncleanly (WebSocket connection upgrade failed (403 - Forbidden))
WebSocket closed 1006 connection was closed uncleanly (WebSocket connection upgrade failed (403 - Forbidden))
  • sujith
    It seems like your access token in invalid. You need to login and create a new access token.
  • er_neerajkumar27
    Sir, I able to last treading price with same access token. But not able to use WebSocket
  • sujith
    At any point in time, there will be only one access token. So you should be able to use the same keys. Maybe you can go through your code and check if you are sending correct api_key and access_token.
Sign In or Register to comment.