Navigation

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

    cannot login even after adding correct password and api key

    Bugs
    3
    28
    58
    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.
    • J
      Jeet Pattani last edited by

      var axios = require('axios');
      var data = JSON.stringify({
          "clientcode": "jeet.pattani111293@marwadiuniversity.ac.in",
          "password": "Info@money1411"
      });
      
      var config = {
          method: 'post',
          url: 'https://apiconnect.angelbroking.com//rest/auth/angelbroking/user/v1/loginByPassword',
      
          headers: {
              'Content-Type': 'application/json',
              'Accept': 'application/json',
              'X-UserType': 'USER',
              'X-SourceID': 'WEB',
              'X-ClientLocalIP': '192.168.124.209',
              'X-ClientPublicIP': '1.38.93.108',
              'X-MACAddress': 'D8-C0-A6-FE-48-4D',
              'X-PrivateKey': '54xZjFDm'
          },
          data: data
      };
      
      axios(config)
          .then(function(response) {
              console.log(JSON.stringify(response.data));
          })
          .catch(function(error) {
              console.log(error);
          });
      

      I have added the email address in the client code and the password and I have also added the correct API key

      Though I get this error

      {"status":false,"message":"YOUR USER ID OR PASSWORD IS INVALID","errorcode":"AB1007","data":null}

      what is supposed to be entered in the fields of client code , password

      please help I am stuck.

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

        @Jeet-Pattani said in cannot login even after adding correct password and api key:

        {"status":false,"message":"YOUR USER ID OR PASSWORD IS INVALID","errorcode":"AB1007","data":null}
        what is supposed to be entered in the fields of client code , password
        please help I am stuck.

        Have you migrated your account

        J J 4 Replies Last reply Reply Quote 0
        • J
          jety_22 @admin last edited by

          @admin I have filled the google form but it is still the same.

          1 Reply Last reply Reply Quote 0
          • J
            Jeet Pattani @admin last edited by

            @admin what is to be added in the client id. I have registered without adding a client id.

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

              @Jeet-Pattani said in cannot login even after adding correct password and api key:

              @admin what is to be added in the client id. I have registered without adding a client id.

              you need an account in angel one to generate session.

              1 Reply Last reply Reply Quote 0
              • J
                Jeet Pattani @admin last edited by

                @admin please migrate my account

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

                  Hi @Jeet-Pattani Please fill below form.
                  https://docs.google.com/forms/d/e/1FAIpQLSdgpCiDhSBa_bsKsec002e9unbeQkipOLFAKW7DzPvmiowsaw/viewform

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    Jeet Pattani @admin last edited by

                    @admin can you please tell the migration status of my account?

                    J A 2 Replies Last reply Reply Quote 0
                    • J
                      Jeet Pattani @Jeet Pattani last edited by Jeet Pattani

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • A
                        admin @Jeet Pattani last edited by

                        Hi @Jeet-Pattani post your client id to know the status of the migration.

                        J 2 Replies Last reply Reply Quote 0
                        • J
                          Jeet Pattani @admin last edited by

                          @admin i do not have client ID i registered for api using email pattanijeet@gmail.com

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

                            Hi @Jeet-Pattani You need to hold an account with us.

                            J 2 Replies Last reply Reply Quote 0
                            • J
                              Jeet Pattani @admin last edited by

                              @admin ok

                              1 Reply Last reply Reply Quote 0
                              • J
                                Jeet Pattani @admin last edited by

                                @admin I have registered and this is my client ID P529774.

                                A 1 Reply Last reply Reply Quote 0
                                • J
                                  Jeet Pattani @admin last edited by

                                  @admin please get the account migrated soon.

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

                                    Hi @Jeet-Pattani said in cannot login even after adding correct password and api key:

                                    @admin I have registered and this is my client ID P529774.

                                    Please fill below form.
                                    https://docs.google.com/forms/d/e/1FAIpQLSdgpCiDhSBa_bsKsec002e9unbeQkipOLFAKW7DzPvmiowsaw/viewform

                                    J 1 Reply Last reply Reply Quote 0
                                    • J
                                      jety_22 @admin last edited by

                                      @admin Hello can you tell me migration status or estimated time ? client id P529774

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

                                        @jety_22 said in cannot login even after adding correct password and api key:

                                        @admin Hello can you tell me migration status or estimated time ? client id P529774

                                        2 to 3 working days.

                                        J 1 Reply Last reply Reply Quote 0
                                        • J
                                          jety_22 @admin last edited by

                                          @admin how will I know if it is migrated or not?

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

                                            @jety_22 you need to try to generate session and get profile api()..if you get the response your account is migrated.

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