Navigation

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

    Important Update: Change in 'feedToken' Format in Login Response

    General Discussion
    0
    5
    97
    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.
    • A
      admin last edited by

      Dear SmartAPI users,

      We would like to inform you that we have recently made a change to the format of the "feedToken" field in our login response. This field has been changed from numeric to text format.

      Login response: Old Format -

      {
      "status":true,
      "message":"SUCCESS",
      "errorcode":"",
      "data":{
      "jwtToken":"eyJhbGciOiJIUzUxMiJ9.eyJzdWI...",
      "refreshToken":"eyJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE1OTk0ODkwMz...",
      "feedToken":1345613428
      }
      }

      Login response: New Format -
      {
      "status": true,
      "message": "SUCCESS",
      "errorcode": "",
      "data": {
      "jwtToken": "eyJhbGciOiJIUzUxMiJ9.eyJ1c2VybmFtZSI6IkIyMTA5OTIiLCJyb2xlcyI6MCwidXNlcnR5cGUiOiJVU0VSIiwiaWF0IjoxNjgyNDgyNTM2LCJleHAiOjE2ODI1Njg5MzZ9.Jbbwc64K8SxPOhHgTxB58AX4c2qqi_x9Otb5RE7xDwxOLlbX-QTUWBZdAaRrgZBGmwhhAYDLGRo50hCgLE7pUw",
      "refreshToken": "eyJhbGciOiJIUzUxMiJ9.eyJ0b2tlbiI6IlJFRlJFU0gtVE9LRU4iLCJpYXQiOjE2ODI0ODI1MzZ9.PQeoJz3hLMVRJVNVUqmTNa8Mwt3Ta3ieScJ6w6HpzlzQTsQ4p0oMLPDrLK9ouDXRMDcX6ycyMJ2MWwo9AL74YQ",
      "feedToken": "eyJhbGciOiJIUzUxMiJ9.eyJ1c2VybmFtZSI6IkIyMTA5OTIiLCJpYXQiOjE2ODI0ODI1MzYsImV4cCI6MTY4MjU2ODkzNn0.tg5rrEX7EOGbdnpKpMwlWWZ-PXEmrJB27A5XfPPqHRN6IEOZUlQXuIbe5M747dPxDRJrnrBFYDt7WeRSEPITRA"
      }
      }

      We recommend that you update your systems to handle the new values for the "feedToken" field to avoid any errors. We understand that some of our clients may be using parsers to handle our responses, and we encourage you to make the necessary updates to ensure compatibility with the new format.

      Please note that this change has been made to improve the security and stability of our system. We apologize for any inconvenience this may cause and appreciate your understanding.

      If you have any questions or concerns, please don't hesitate to reach out to our support team.

      Thank you for using SmartAPI.

      Best regards,
      The SmartAPI team

      Mnagesh 1 Reply Last reply Reply Quote 1
      • Mnagesh
        Mnagesh @admin last edited by

        @admin we observed it today .
        do we need to reinstall all smartapi lib in python ??

        Now I am full time Algo Trader and successfully developed my own Apps for my personal use.

        M 1 Reply Last reply Reply Quote 0
        • M
          mohan1710 @Mnagesh last edited by

          @Mnagesh
          Are you able to get the ticks via smartAPI? I am not getting any ticks in the streamer although I used the latest package from git using pip install.

          Does not get any error but not getting the ticks for even a single script.

          Can you please help me with the code if yours is working?

          A 1 Reply Last reply Reply Quote 0
          • A
            anil_patel @mohan1710 last edited by

            @mohan1710 @admin @administrators i am also not getting ticks

            1 Reply Last reply Reply Quote 0
            • P
              pkbsdmp last edited by

              Unable to get tick data

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