☰
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
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.