☰
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
15.1K
All Categories
0
Incidents
180
Node JS client
52
Go client
861
.Net API client
402
Kite Publisher
555
.Net / VBA / Excel (3rd party)
505
Algorithms and Strategies
1.1K
Java client
1.2K
API clients
410
PHP client
4.3K
Python client
365
Mobile and Desktop apps
1.5K
Market data (WebSockets)
3.7K
General
In this Discussion
January 2023
rskholdings
January 2023
rakeshr
Not getting Access Token in json data
rskholdings
January 2023
in
Python client
kdata {'user_id': 'WI0789', 'user_type': 'individual', 'email': '
[email protected]
', 'user_name': 'Kumar', 'user_shortname': 'Kumar', 'broker': 'ZERODHA', 'exchanges': ['MF', 'NFO', 'CDS', 'NSE', 'BSE'], 'products': ['CNC', 'NRML', 'MIS', 'BO', 'CO'], 'order_types': ['MARKET', 'LIMIT', 'SL', 'SL-M'], 'avatar_url': '
https://s3.ap-south-1.amazonaws.com/zerodha-kite-blobs/avatars/aazC7l1GE6mDGFhrDW8ohj2GbUHxtibx.png'
, 'meta': {'demat_consent': 'consent'}}
I am getting above data from
kdata = kite.generate_session(request_token=krt,api_secret=kite_api_secret)
kdata = kite.profile()
kite.set_access_token(kdata["access_token"])
getting invalid access_token key
I don't know what I am missing
kindly help
rakeshr
January 2023
An access token is available from
generate_session
API not profile. Go through
the examples here
.
rskholdings
January 2023
thank you.
This discussion has been closed.