I am facing same issue now. whats the resolution?
I am facing same issue now. whats the resolution?
Hi @rush2412-i8l ,
Please make sure you are using access token for accessing history api not auth token.
Using auth token , you can generate the access token. Then using this access token you can access history api
Thanks
hi, is the history request working for someone ? same issue with us quotes and profile are working but history we are getting 403 error
can someone help what might be the possible solution ?
from fyers_apiv3 import fyersModel
data = {
"symbol":"NSE:SBIN-EQ",
"resolution":"D",
"date_format":"1",
"range_from":"2024-01-01",
"range_to":"2024-01-31",
"cont_flag":"1"
}
fyers.history(data=data)
{‘code’: -403,
‘message’: ‘You do not have permission to access this application’,
‘s’: ‘error’}