Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    Not Getting Data from websocket

    Bugs
    5
    6
    81
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rohithmaccs last edited by

      I am getting this data [{"ak":"nk","task":"mw","msg":"mw"}].its been 3 days i am getting this data .i am react-native developer & trader .any updates on this issue @admin

      1 Reply Last reply Reply Quote 0
      • N
        NST last edited by

        @rohithmaccs I suppose you're passing wrong feedToken. Please review.

        R 1 Reply Last reply Reply Quote 0
        • R
          rohithmaccs @NST last edited by

          @sandipkhairnar no it valid

          S 1 Reply Last reply Reply Quote 0
          • S
            Surya 1 @rohithmaccs last edited by

            @rohithmaccs

            This happened to me if I either used a wrong credentials/feed token or wrong instrument symbol.

            1 Reply Last reply Reply Quote 0
            • R
              ronit last edited by

              Same issue i am also not getting data it shows exact same thing

              1 Reply Last reply Reply Quote 0
              • D
                dipeshbodas last edited by

                @rohithmaccs

                Was facing similar issue. When I generated session just before opening websocket and used feed token after that it worked.

                obj=SmartConnect(api_key="API_KEY")
                data = obj.generateSession("CLIENT_ID","PASSWORD")
                FEED_TOKEN=obj.getfeedToken()
                CLIENT_CODE="CLIENT_CODE"
                token="STOCKS_TO_SUBSCIBE"
                ss = WebSocket(FEED_TOKEN, CLIENT_CODE)

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post