rishiswethan

About

Username
rishiswethan
Joined
Visits
1,385
Last Active
Roles
Member

Activity

  • makeinindia
    I am facing same problem .. can fix it for me as well.
    September 2020
  • pratyushbgr
    Hello, You seem to be genius on this.
    I am getting the following error even if I know that I am doing everything right.
    File "LTP.py", line 44, in
    token = kite.ltp(instruments)
    File "C:\ProgramData\Anaconda3\lib\site-packages\kiteconnect-3.7.7-py3.7.egg\kiteconnect\connect.py", line 575, in ltp
    File "C:\ProgramData\Anaconda3\lib\site-packages\kiteconnect-3.7.7-py3.7.egg\kiteconnect\connect.py", line 697, in _get
    File "C:\ProgramData\Anaconda3\lib\site-packages\kiteconnect-3.7.7-py3.7.egg\kiteconnect\connect.py", line 766, in _request
    kiteconnect.exceptions.TokenException: Incorrect `api_key` or `access_token`.

    It was working find till yesterday night. Not sure what happened in the morning. I generated everything new including the api secret and api token. But still getting the error.
    below is the code:

    # Initialise
    kite = KiteConnect(api_key)
    kite.set_access_token(access_token)
    September 2019