Error while subscribing to tokens

sameer
I am getting following error while subscribing to tokens:
{'1510401', '1270529', '225537', '3861249', '2672641', '633601', '356865', '6401', '70401', '215553', '492033', '5633', '2714625', '325121', '60417', '1850625', '1346049', '3771393', '54273'}

File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/kiteconnect/ticker.py", line 557, in subscribe
self.close(reason="Error while subscribe: {}".format(str(e)))
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/kiteconnect/ticker.py", line 534, in close
self.ws.sendClose(code, reason)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/autobahn/websocket/protocol.py", line 1952, in sendClose
raise Exception("close reason without close code")
builtins.Exception: close reason without close code


Please let me know the reason and how to avoid it
Tagged:
  • Vivek
    @sameer Tokens are list of integers. I just subscribed for all the tokens given and it works.
    [1510401, 1270529, 225537, 3861249, 2672641, 633601, 356865, 6401, 70401, 215553, 492033, 5633, 2714625, 325121, 60417, 1850625, 1346049, 3771393, 54273]
Sign In or Register to comment.