I am getting the error "{‘s’: ‘error’, ‘code’: -17, ‘message’: ‘Could not authenticate the user’}"when I run fyers.history(data) or other commands
even i am getting the same error while running fyers.history(data). please advise.
Even im getting the same error with the fyers.history(data) API. It was working fine all these days. Started seeing this error from today!
Other APIs like getFunds are working fine
I’m also facing the same issue. APi was working fine before.
Hi, were you able to solve the problem? If yes, can you please help me out?
Thanks!
@vikram_sri , it will be very helpful if you look into this , is there something wrong from backendside because i am using the same code and it used to work fine till now.
Could not authenticate the user for history api.
Rest of the apis work but not the history, Even yr sample code not working
data = {“symbol”:“NSE:SBIN-EQ”,“resolution”:“D”,“date_format”:“0”,“range_from”:“1622097600”,“range_to”:“1622097685”,“cont_flag”:“1”}
x =fyers.history(data)
{‘s’: ‘error’, ‘code’: -17, ‘message’: ‘Could not authenticate the user’}
It used to work.
following apis work fine but not the history
print(fyers.positions())
print(fyers.get_profile())
print(fyers.tradebook())
print(fyers.positions())
print(fyers.holdings())
print(fyers.funds())
print(fyers.orderbook())
Hi, I am facing this issue too.
I tried both **NodeJS and Curl **code. In both cases all other api calls like get*profile(), getfunds(), getholdings(), market_status() *etc. are working fine giving correct response.
Only getHistory() is failing with this same error.
Authorization followed was exactly the same in each case.
I am also getting this error from Yesterday night (25 Nov 2022) , Can anyone tell what is the issue with FYERS API?
I am also gettting the same error , fyers.quote and fyers.history is returning Could not authenticate user .
I am also gettting the same error , fyers.quote and fyers.history is returning Could not authenticate user .
@rushbh_patil anyupdate sir on this matter
Hey everyone can you please re create the access token and check now.