when login to kiteconnect with login_url after supplying password and 2FA getting this message.
Not Found
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. The authorization page not coming up.
Hi @pvgeorge, After successful login, we redirect to the "Redirect URL" you have specified while creating app. Anyways page not found won't matter. You will be getting request_token in url. If you are getting it then go ahead and use it.
Hi Sujith, I am following the webinar and trying. I did as you said and another message "invalid session credentials" Traceback (most recent call last): File "", line 1, in kite.request_access_token("r996jfqxieftwu3934mq3uw7cvvksym6", api_secret) File "C:\Users\george\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kiteconnect\__init__.py", line 235, in request_access_token "checksum": checksum File "C:\Users\george\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kiteconnect\__init__.py", line 467, in _post return self._request(route, "POST", params) File "C:\Users\george\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kiteconnect\__init__.py", line 554, in _request raise(exp(data["message"], code=r.status_code)) kiteconnect.exceptions.TokenException: Invalid session credentials.
Hi Sujith, The reply not clear. The client id was asked only on login, there the same client id was used. I have only one client id. Where else I need to give client id?
After successful login, we redirect to the "Redirect URL" you have specified while creating app. Anyways page not found won't matter. You will be getting request_token in url. If you are getting it then go ahead and use it.
I am following the webinar and trying. I did as you said and another message "invalid session credentials"
Traceback (most recent call last):
File "", line 1, in
kite.request_access_token("r996jfqxieftwu3934mq3uw7cvvksym6", api_secret)
File "C:\Users\george\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kiteconnect\__init__.py", line 235, in request_access_token
"checksum": checksum
File "C:\Users\george\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kiteconnect\__init__.py", line 467, in _post
return self._request(route, "POST", params)
File "C:\Users\george\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kiteconnect\__init__.py", line 554, in _request
raise(exp(data["message"], code=r.status_code))
kiteconnect.exceptions.TokenException: Invalid session credentials.
You should use same client id as specified while creating app.
The reply not clear.
The client id was asked only on login, there the same client id was used. I have only one client id. Where else I need to give client id?
Now I am getting access token that part is ok, even though the 404 not found is still continuing.
Thanks