☰
Login
Signup
Home
›
Python client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
14.9K
All Categories
0
Incidents
176
Node JS client
51
Go client
840
.Net API client
397
Kite Publisher
554
.Net / VBA / Excel (3rd party)
490
Algorithms and Strategies
1.1K
Java client
1.2K
API clients
409
PHP client
4.3K
Python client
357
Mobile and Desktop apps
1.5K
Market data (WebSockets)
3.6K
General
In this Discussion
April 2025
gemini
April 2025
sujith
Token is invalid or has expired
gemini
April 2025
in
Python client
I am using below code and i keep getting mentioned error -
from kiteconnect import KiteConnect
import json
api_key = "test"
api_secret = "testsecret"
request_token = "testtoken"
kite = KiteConnect(api_key=api_key)
data = kite.generate_session(request_token, api_secret=api_secret)
access_token = data["access_token"]
Any suggestions?
Tagged:
Python Client
login
access_token
sujith
April 2025
You may refer to this
thread
.
gemini
April 2025
By opening the request toke url in inconito mode and relogin helped to solve the issue.
Sign In
or
Register
to comment.