Navigation

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

    Showing Invalid Token Continously

    Test
    0
    4
    22
    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
      ridam25 last edited by

      I am calling the getProfile Api & getPortfolio api with the authorization Token which i got 5 mins ago but it's showing invalid token again & again. Please solve this issue asap.Screenshot (2329).png Screenshot (2328).png

      M 1 Reply Last reply Reply Quote 1
      • M
        Moderator_2 @ridam25 last edited by

        Hi @ridam25

        Able to Notice the Authorization Token is hardcoded here.
        Please make sure if the token has fetched from login API everyday since we invalidate the expired token[every 24h-28h] and verify if the issue still occurs.

        Regards,
        SmartAPI team

        R 1 Reply Last reply Reply Quote 0
        • R
          ridam25 @Moderator_2 last edited by

          @Moderator_2
          I am testing the API. That's why I hardcoded the token which I got 5 mins ago only. But then also It's showing Invalid Token Invalid Token. Please help me with this.

          M 1 Reply Last reply Reply Quote 0
          • M
            Moderator_2 @ridam25 last edited by

            Hi @ridam25

            Please share us the client code to analyze on this matter.

            Regards,
            SmartAPI team

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