Unable to login in Fyers API

Hi

I am not able to login since saturday throgh API, Can anyone help?

I am using V2 API. Below is the code snippet

data1 = f'{{"fy_id":"{fyers_id}","password":"{password}","app_id":"2","imei":"","recaptcha_token":""}}'

r1 = s.post("https://api.fyers.in/vagator/v1/login", data=data1)

assert r1.status_code == 200, f"Error in r1:\n {r1.json()}"

The r1.status_code coming as 503. So the code is crashing? Anyone help ?

3 replies