Navigation

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

    Unable to genrate session or refresh token

    Python SDK
    0
    9
    130
    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.
    • L
      lavly last edited by

      data = obj.generateSession(username, password)
      refreshToken= data['data']['refreshToken']

      This github code is giving error after 11 dec 21.
      Pl Help.

      Error annexed.![alt text](image urlScreenshot_20211226-194224.png )

      L 1 Reply Last reply Reply Quote 0
      • L
        lavly @lavly last edited by

        @lavly said in Unable to genrate session or refresh token:

        data = obj.generateSession(username, password)
        refreshToken= data['data']['refreshToken']

        This github code is giving error after 11 dec 21.
        Pl Help.

        Error annexed.![alt text](image urlScreenshot_20211226-194224.png )

        @admin

        A 1 Reply Last reply Reply Quote 0
        • A
          admin @lavly last edited by

          Hi @lavly post your client id here.

          L 1 Reply Last reply Reply Quote 0
          • L
            lavly @admin last edited by

            @admin my client id is - VDKU062

            A 1 Reply Last reply Reply Quote 0
            • A
              admin @lavly last edited by

              @lavly are you able to login into web based platform using same credentials

              L 1 Reply Last reply Reply Quote 0
              • L
                lavly @admin last edited by

                @admin said in Unable to genrate session or refresh token:

                @lavly are you able to login into web based platform using same credentials
                @admin yes i can login into web and app ba based platform

                L 1 Reply Last reply Reply Quote 0
                • N
                  nbmaiti last edited by nbmaiti

                  @admin

                  I am also getyting error on
                  #fetch User Profile
                  userProfile= obj.getProfile(refreshToken)

                  Reply received
                  {'success': False,
                  'message': 'Invalid Token',
                  'errorCode': 'AG8001',
                  'data': ''}

                  Used clientID N82817. -- It was working fine for last few months now stopped why...

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    admin @nbmaiti last edited by

                    @nbmaiti reset your password it is expired.

                    1 Reply Last reply Reply Quote 0
                    • L
                      lavly @lavly last edited by

                      @admin

                      issue resolved. thanks for listening.

                      i din't know how but my api key got inactive. after reactivating same. code is working fine.

                      thanks.

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