Error 'Route not found' is solved using different internet connection/proxy for curl command line.
But, from html page I get following error:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.kite.trade/session/token. (Reason: CORS header 'Access-Control-Allow-Origin' missing).
I am receiving the exact same error - On the browser - {"status": "error", "message": "Route not found", "error_type": "GeneralException"} Using curl- {"status": "error", "message": "Invalid session credentials", "error_type": "TokenException"} Please let me know how to fix this!
curl https://api.kite.trade/session/token -d "api_key=vljy89p4oft21dnx" -d "request_token=pb9ntrhmmi3fnv4eusp6ib7c3ne1f387" -d "checksum=8f232ca9316c1544131f1c9e7eb1462dcb8dd73882edf0c927b3476d387681cb"
But, received same error.
Let me know if you find any solution to this.
{"status": "error", "message": "Invalid session credentials", "error_type": "TokenException"}
Error 'Route not found' is solved using different internet connection/proxy for curl command line.
But, from html page I get following error:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.kite.trade/session/token. (Reason: CORS header 'Access-Control-Allow-Origin' missing).
Thanks.
On the browser -
{"status": "error", "message": "Route not found", "error_type": "GeneralException"}
Using curl-
{"status": "error", "message": "Invalid session credentials", "error_type": "TokenException"}
Please let me know how to fix this!
1. Go to https://kite.trade/connect/login?api_key=xxx
2. Login
3. Obtain the request_token. Important: This token is generated new every time
4. Call the curl https://api.kite.trade/session/token -d ... command with the new request_token & new checksum values.