API login issue

Hi I am using below code to login but its throwing error (user does not exist).

URL_SEND_LOGIN_OTP=“https://api-t2.fyers.in/vagator/v2/send_login_otp”

res = requests.post(url=URL_SEND_LOGIN_OTP, json={“fy_id”:getEncodedString(FY_ID),“app_id”:“2”}).json()

print(res)
{‘s’: ‘error’, ‘code’: -1019, ‘message’: ‘user does not exist, please check fyers id’}

Hey @ajay.bhadreshvara-qsb

Can you let us know the inputs given

Input I given fyer id (login id - XJ09484).

@ajay.bhadreshvara-qsb Could you please elaborate on where you are trying to login through API and can mentioned the complete inputs given

I am trying in jupyter with below code

Please update.

Hi @ajay.bhadreshvara-qsb

Could you please try running the same scrip now

I am still getting same error
{‘s’: ‘error’, ‘code’: -1019, ‘message’: ‘user does not exist, please check fyers id’}

Hi @WWhYB2qrsx any update

Hi @WWhYB2qrsx Can you provide me solution.