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'}

1
9 replies