"Could not authenticate the user error" 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())

i am also facing same issue.

I am also facing same issue since yesterday 26-11-2022

I am also facing same issue…no help found over internet.

As its is facing by many at same time , Seems it is on server side issue , hope anyone from FYERS team will reply on that.

Same with me. profile functions are working but not quotes ,history etc. @vikram_sri Could you please help?.

I’m also facing the same issue.

Me Too… Fyers please take notice.

Same issue with data api

{‘s’: ‘error’, ‘code’: -17, ‘message’: ‘Could not authenticate the user’}

Same issue here.

Same issue with many other I also tagged fyers team members in many comment , but no reply till now .it’s I guess errors at there side

Same issue since Yesterday… How can this be dependable company ?It didnt even bother communication on when and if its going to fix this issue.Weekend data analysis is gone wasted.Really bad.

@yc13xpdtCi Does Fyers API support FNO data ?

@yc13xpdtCi Does Fyers API support FNO data ?

Hey everyone, can you please try generating access token from the code in the below link and then hitting the APIs,
https://community.fyers.in/question/i-m-getting-an-issue-while-logging-on-fyers-api-because-of-totp-login-syste–6343e0ee338021c4644815e8?answerId=6343ec3e57efd47bfc72684f

Hi Vikram can you please share what is chnaged in contract of rest API rather as well as i am not using python.

same here. Is it working for anyone ?

It is working for me now. Please check out

TOTP_KEY = “U5BPVOANWCCTNL3S***************D” # TOTP secret is generated when we enable 2Factor TOTP from myaccount portal

TOTP_KEY can anyone help from where it will be get ???

Thank you for providing such useful information. I’ve been having trouble coming up with many questions about this topic. I’ll stick with you!