Error in response on requesting History api of fyers api-V2

FIRST request:

data = {‘symbol’: ‘BSE:SENSEX-INDEX’, ‘resolution’: ‘D’, ‘date_format’: 0, ‘range_from’: 1678602129, ‘range_to’: 1701152529, ‘cont_flag’: ‘1’}

response = fyers.history(data)

I got correct response

after 1 sec break,

SECOND request:

{‘symbol’: ‘BSE:ABB-A’, ‘resolution’: ‘D’, ‘date_format’: 0, ‘range_from’: 1678602131, ‘range_to’: 1701152531, ‘cont_flag’: ‘1’}

response = fyers.history(data)

I got this response : {‘s’: ‘error’, ‘code’: -300, ‘message’: ‘’}

My code was working correctly a month ago, I haven’t changed a single line in code. Please help me by solving this issue as soon as possible.

@Z4PBvkQGyF plz help me solve this issue

Hi @mrx040551-2hu

Looks you are using Fyers-apiv2

Kindly upgrade to apiv3.
However we will look this issue and update you.