i am able to authenticate with api and read my personal details and orders. But when i try to fetch historical data, i get permission error.
Eg-python
data = {"symbol":"NSE:SBIN-EQ","ohlcv_flag":"1"}
fyers.depth(data)
{'s': 'error', 'code': -438, 'message': 'your app does not have the permission'}