I am using fyers v2 API to access historic data and getting an error like below
{'code': '500', 'data': JSONDecodeError('Expecting value: line 1 column 1 (char 0)')}
My request payload looks like this
{'symbol': 'NSE:BANKNIFTY-INDEX', 'resolution': '30', 'date_format': '1', 'range_from': '2021-12-14', 'range_to': '2022-03-14', 'cont_flag': '1'}
Please assist as soon as possible