Navigation

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

    AngelBroking get_access_token failed: AB1050 : Invalid totp

    General Discussion
    0
    23
    210
    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.
    • S
      skishor @daleep_angel last edited by

      @daleep_angel HOW ?
      can you please guide us with the procedure

      1 Reply Last reply Reply Quote 0
      • A
        Arjun last edited by

        any upadate on this

        1 Reply Last reply Reply Quote 0
        • A
          arulsutha13 @sarath last edited by

          @sarath delete and remake all
          do not make copy paste

          A 1 Reply Last reply Reply Quote 0
          • A
            ajsingh @arulsutha13 last edited by

            @arulsutha13 what do u mean delete and remake all?

            1 Reply Last reply Reply Quote 0
            • B
              bh_nil last edited by

              Simple solution, Add valid totp ,error will be resolved, totp is not Constant and changing with time so u need to update everytime 😞

              A 1 Reply Last reply Reply Quote 0
              • B
                bh_nil @saimathew123 last edited by

                @saimathew123 why tradetron build ur own algo software ,get the signals nd execute the orders thr api

                D 1 Reply Last reply Reply Quote 0
                • D
                  dsdabhi1 @bh_nil last edited by

                  @Harman08 i am on the way but while getting profile data. error is {"success":false,"message":"Invalid Token","errorCode":"AG8001","data":""} no solution for this and no reply from angel broking.

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    bh_nil @dsdabhi1 last edited by

                    @dsdabhi1 case "AG8001":
                    case "AG8002":
                    return new DataException(jsonObject.getString("message"), code);
                    Seems Exception due to 2FA code, Insert Totp passcode properly in generate session

                    1 Reply Last reply Reply Quote 0
                    • A
                      ajsingh @bh_nil last edited by

                      @Harman08 I'm using the alphanumeric code line given below the qr code as my totp. That's what was working 2 days back. now it's not working. if you are talking about this code then it didn't change. it has remained the same since the beginning of this totp mess.

                      if possible could u send me an example code how u r logging into a session with the totp?

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        bh_nil @ajsingh last edited by

                        @ajsingh That is not Totp, u have to scan that qr or put below string to ur Google Authenticator to generate totp, and totp is not Constant, it's temporary it changes with time

                        A 1 Reply Last reply Reply Quote 0
                        • N
                          N127018 last edited by

                          I am getting same error as "Access Token FaileD, error AB1050. Ainvalid TOTP"

                          i used AUTHY and enabled TOTP and i put this everyday now around 7AM in mrng and still an error.

                          I am Using Tradetron algo. Previously it was wroking properly when TOTP thing was not there

                          1 Reply Last reply Reply Quote 0
                          • A
                            ajsingh @bh_nil last edited by

                            @Harman08 it worked. thanks.

                            now having a different issue, this one.

                            ReadTimeout: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Read timed out. (read timeout=7)

                            i am trying to fetch the historical data. access rate is 3/sec then one second sleep. still i am getting this error.

                            B 1 Reply Last reply Reply Quote 0
                            • B
                              bh_nil @ajsingh last edited by

                              @ajsingh please check the Access rates by admin a few days ago.

                              A 1 Reply Last reply Reply Quote 0
                              • A
                                ajsingh @bh_nil last edited by

                                @Harman08 can u paste the link? i cant find it.

                                1 Reply Last reply Reply Quote 0
                                • A
                                  Anands45 last edited by

                                  Hi Team,

                                  I am getting the below error message :

                                  b'{"status":false,"message":"Invalid totp","errorcode":"AB1050","data":null}'

                                  Please let me know what is the issue?

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