Login Logout works, but no other API works

swapnil123
Hi,
I am able to successfully generate access token, but i am not able to make a successful request to any other API,it always responds with
{"status":"error","message":"Incorrect `api_key` or `access_token`.","data":null,"error_type":"TokenException"}
But again, when i try to logout and delete my access token, it works fine.
So login logout works, but not other API
a) https://kite.zerodha.com/connect/login?v=3&api_key=xxx ---- works

I get a request token on the redirected url

b) curl https://api.kite.trade/session/token \ ---- works
-H "X-Kite-Version: 3" \
-d "api_key=xxx" \
-d "request_token=yyy" \
-d "checksum=zzz"

I get a response with my profile and access token, request token,etc


c) curl --request DELETE \ ---- works
-H "X-Kite-Version: 3" \
"https://api.kite.trade/session/token?api_key=xxx&access_token=yyy"

Deletes the access token.


Thats it. No other API work

Please help.
Sign In or Register to comment.