The Fyers historical API is returning a 500 response. It was working fine till the last week. No code/payload changes from my side. E.g.:
data = {
"symbol":"NSE:SBIN-EQ",
"resolution":"D",
"date_format":"0",
"range_from":"1690895316",
"range_to":"1691068173",
"cont_flag":"1"
}
print(fyers.history(data))
Result:
{'code': '500', 'data': JSONDecodeError('Expecting value: line 1 column 1 (char 0)')}
This issue is observed with both V2 and V3. Let me know how to solve the problem. Thanks.