☰
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
13.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
996
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
April 2023
tonystark
Error : Kite API connect
sekharg
April 2023
edited April 2023
in
Python client
Hi Team,
Getting below error:
DEBUG:urllib3.connectionpool:
https://api.kite.trade:443
"POST /session/token HTTP/1.1" 403 None --------------------------------------------------------------------------- TokenException Traceback (most recent call last) Cell In[107], line 1 ----> 1 data = kite.generate_session(request_token,api_secret = secret_key) 2 print (data["access_token"]) 3 kite.set_access_token(data["access_token"]) File ~\AppData\Local\anaconda3\lib\site-
attached the code.
tonystark
April 2023
Please do not post your credentials in the forum. I have deleted your attachment for now.
TokenException happens when you didn't use the request_token soon enough before it expires. You can read the actual error message by catching the exception.
Sign In
or
Register
to comment.
TokenException happens when you didn't use the request_token soon enough before it expires. You can read the actual error message by catching the exception.