Unable to get Historical data from v3 api

I’m unable to access historical data from api v3

Error Response

{'code': -403, 'message': 'You do not have permission to access this application', 's': 'error'}

Here is code which i used

data = {
    "symbol":'NSE:SBIN-EQ',
    "resolution":"1D",
    "date_format":"1",
    "range_from": "2023-08-01",      
    "range_to": "2023-11-11",
    "cont_flag":"1"
}

response = fyers.history(data=data)

Hi

Can you confrim you pass correct access token as I checked it is working fine.

i checked other things works like quotes , websocket but issue comes from history only

Hi while creating the app do you give the premission to the app for history data

Its already there.

I dmed you

Will check on remote

I’m getting the same for both v2 and v3. Any updates on this?

creating a new app with all permissions worked

ok good to know it is working for you

Data is from 2018 Feb. Is there a way to get data before that?

No there is no way to before that

you can i got 2017 data from api. 1 min data :slight_smile:

but now it will be impossible because it remove month by month data so 2017 jan then next time it will from fab so on . i got data from august so you can make calc for 1 min data

issue was i need to give it Trading Permissions and it work right away.