osparamatrix / ks-orderapi-python

47 stars 59 forks source link

2FA ISSUE - NOT WORKING - REG #83

Open kvosaravanaprakash opened 2 years ago

kvosaravanaprakash commented 2 years ago

Sir, 2 Factor Authentication API script is not working, and I gave proper OTP received.

ApiException: (400) Reason: Bad Request HTTP response body: {"fault":{"code":0,"description":"","message":""}}

Why this error happening please?

Thank you Saravana Prakash

kvosaravanaprakash commented 2 years ago

Sorry. The issue got resolved as I placed the Access Code within double quotes. Issue: client.session_2fa(access_code = 1479) gives the above error. Resolved: client.session_2fa(access_code = "1479") Logged in.

Thank you Saravana Prakash