Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. bhxshxn
    B
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    bhxshxn

    @bhxshxn

    3
    Reputation
    7
    Posts
    2
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    bhxshxn Follow

    Best posts made by bhxshxn

    • websocketv2 throws 401 error on nodejs sdk

      websocketv2 throws 401 error on nodejs sdk where as it works on the python sdk with same credentials please fix this this the error:
      Error: Unexpected server response: 401
      at ws.onerror (/home/bhushan/workspace/botlab-v-2/streamer/node_modules/smartapi-javascript/lib/websocket2.0.js:89:15)
      at callListener (/home/bhushan/workspace/botlab-v-2/streamer/node_modules/smartapi-javascript/node_modules/ws/lib/event-target.js:290:14)
      at WebSocket.onError (/home/bhushan/workspace/botlab-v-2/streamer/node_modules/smartapi-javascript/node_modules/ws/lib/event-target.js:230:9)
      at WebSocket.emit (node:events:518:28)
      at emitErrorAndClose (/home/bhushan/workspace/botlab-v-2/streamer/node_modules/smartapi-javascript/node_modules/ws/lib/websocket.js:1033:13)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

      Node.js v20.11.0

      posted in Bugs
      B
      bhxshxn

    Latest posts made by bhxshxn

    • RE: status of partially filled orders?

      @bhxshxn @admin

      posted in General Discussion
      B
      bhxshxn
    • status of partially filled orders?

      what will be the status in the case if i have bought 200 quantity and only 100 are bought so web hook for order update will send me what status for this particular order

      posted in General Discussion
      B
      bhxshxn
    • RE: Error: Unexpected server response: 401

      @sonivipul89 not working for me

      posted in Bugs
      B
      bhxshxn
    • RE: Error: Unexpected server response: 401

      @Rishab solution only smart api peope can provide

      posted in Bugs
      B
      bhxshxn
    • RE: Error: Unexpected server response: 401

      @Rishab haa sirf python mai work ka rha hai

      posted in Bugs
      B
      bhxshxn
    • websocketv2 throws 401 error on nodejs sdk

      websocketv2 throws 401 error on nodejs sdk where as it works on the python sdk with same credentials please fix this this the error:
      Error: Unexpected server response: 401
      at ws.onerror (/home/bhushan/workspace/botlab-v-2/streamer/node_modules/smartapi-javascript/lib/websocket2.0.js:89:15)
      at callListener (/home/bhushan/workspace/botlab-v-2/streamer/node_modules/smartapi-javascript/node_modules/ws/lib/event-target.js:290:14)
      at WebSocket.onError (/home/bhushan/workspace/botlab-v-2/streamer/node_modules/smartapi-javascript/node_modules/ws/lib/event-target.js:230:9)
      at WebSocket.emit (node:events:518:28)
      at emitErrorAndClose (/home/bhushan/workspace/botlab-v-2/streamer/node_modules/smartapi-javascript/node_modules/ws/lib/websocket.js:1033:13)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

      Node.js v20.11.0

      posted in Bugs
      B
      bhxshxn
    • RE: Error: Unexpected server response: 401

      any solution is still there and i am trying with right because the same cred work in python sdk and not in node sdk

      posted in Bugs
      B
      bhxshxn