Kotak-Neo / kotak-neo-api

96 stars 80 forks source link

Unable to login using api #78

Open akshayn11 opened 8 months ago

akshayn11 commented 8 months ago

Hii Team, I am facing API related issue while login to the neo-API. I am having 3 accounts of kotak Neo , I am able to get logged in into the two accounts using MPIN, but when i am trying to login 3rd one its giving me error. Pleases do check this issue and solved it asap and also one problem is the i am unable get OTP for that 3rd account

kalilinux-png commented 8 months ago

I think the team is making some changes to the login or might be updating the API , @shashwat001 Please let us know so we can take the required measures

Thanks 👍🏻

ShivdasBachewar commented 8 months ago

@Kotak-Neo can you please look into this.

I was able to use MPIN instead of 4digit otp for 2fa. then I have changed my MPIN and now

  1. its not accepting MPIN for 2fa
  2. and I am not receiving otp for API 2fa
Kotak-Neo commented 8 months ago

@akshayn11 @ShivdasBachewar Kindly share your client codes we will contact you, this seems to be account specific issue.

ShivdasBachewar commented 8 months ago

@Kotak-Neo please let me know how to share (cannot share in public forum)

kalilinux-png commented 8 months ago

@Kotak-Neo i was working with documentation this everything was working fine , like i was able to fetch limit's and holding , but when i tried to place order i am getting this response

{"stat": "Not_Ok","error":[{"code":"10020","message":"Authentication Failed"}]}

ShivdasBachewar commented 8 months ago

hi @kalilinux-png, it fixed issue for me by providing new password.

  1. in my case API was accepting old password and i was able to fetch limit's and holding
  2. I just replaced old-password with current-password
  3. and it fixed issues.

brother can you please check your credentials. that might solve issue

kalilinux-png commented 8 months ago

3. fixed issues.

hi @ShivdasBachewar ,

it tried to change the password and then I used the updated password but it did not work in my case, not sure what could be the issue

Thanks for the help brother, if you have any more let me know @Kotak-Neo what could be the issue ? , please check logs from your side for more details Thanks 😃

homeprofessional01 commented 7 months ago

code': '10020', 'message': 'Authentication Failed SAME ERROR FOR ME TOOO

25315 commented 6 months ago

ApiValueError: View Token hasn't been Generated Kindly Call the Login Function and Try to Generate OTP, I am getting this error , does anyone know how to solve this ?

Abhinay-Rathore commented 6 months ago

@Kotak-Neo ApiValueError: View Token hasn't been Generated Kindly Call the Login Function and Try to Generate OTP I am getting this error!! how to resolve it??

Abhinay-Rathore commented 6 months ago

ApiValueError: View Token hasn't been Generated Kindly Call the Login Function and Try to Generate OTP, I am getting this error , does anyone know how to solve this ?

I am also getting same error

Kotak-Neo commented 5 months ago

These errors happen when the login is not done properly. Kindly share the code snippet by masking your credentials to neo.api@kotak.com. The team will connect to resolve this. :)

akshayn11 commented 5 months ago

I am using same algo since last 4 months there wasnt any issues but today i face this issue .

On Thu, 11 Jan 2024 at 12:57 PM, Kotak Neo @.***> wrote:

These errors happen when the login is not done properly. Kindly share the code snippet by masking your credentials to @.*** The team will connect to resolve this. :)

— Reply to this email directly, view it on GitHub https://github.com/Kotak-Neo/kotak-neo-api/issues/78#issuecomment-1886446194, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7YIT63Y24ASR6TFVJP3RWLYN6H53AVCNFSM6AAAAAA6B3STJOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBWGQ2DMMJZGQ . You are receiving this because you were mentioned.Message ID: @.***>

Sumit2701 commented 5 months ago

{'code': '900908', 'message': 'Resource forbidden ', 'description': 'User is NOT authorized to access the Resource. API Subscription validation failed.'} why

chitrakshadusane commented 3 months ago

ApiValueError: View Token hasn't been Generated Kindly Call the Login Function and Try to Generate OTP, I am getting this error , does anyone know how to solve this ?

I am also getting same error @Kotak-Neo

Same error