☰
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.1K
All Categories
0
Incidents
158
Node JS client
43
Go client
801
.Net API client
386
Kite Publisher
538
.Net / VBA / Excel (3rd party)
466
Algorithms and Strategies
1K
Java client
1.1K
API clients
408
PHP client
4.1K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
General
In this Discussion
October 2024
sujith
October 2024
Tilaksomashekar
Token invalid or expired
Tilaksomashekar
October 2024
in
Python client
How do i solve this?
kiteconnect.exceptions.TokenException: Token is invalid or has expired.
Traceback (most recent call last):
File "/home/tilak/Do_not_delete/algo_trading_try.py", line 13, in
data = kite.generate_session("your_request_token", api_secret=api_secret)
File "/home/tilak/.local/lib/python3.10/site-packages/kiteconnect/connect.py", line 263, in generate_session
resp = self._post("api.token", params={
File "/home/tilak/.local/lib/python3.10/site-packages/kiteconnect/connect.py", line 865, in _post
return self._request(route, "POST", url_args=url_args, params=params, is_json=is_json, query_params=query_params)
File "/home/tilak/.local/lib/python3.10/site-packages/kiteconnect/connect.py", line 937, in _request
raise exp(data["message"], code=r.status_code)
Tilaksomashekar
October 2024
could anyone help here please??
Tilaksomashekar
October 2024
@sujith
sujith
October 2024
You can refer to this
thread
to know more.
Sign In
or
Register
to comment.