Hi , I have created latest request token and try create Kiteconnect session using correct API_KEY. Access token and Secret key even though getting error like kiteconnect.exceptions.TokenException: Token is invalid or has expired. FYI.., I am using ubuntu 21.10 and python 3.9. Code:-
Jfile['Api_Secret'], it should be passed as string.
You need to manually cross-verify data type(to be a string) and all values to be correctly passed for Jfile['Api_Key'], Jfile['Api_Secret'], and req_tocken.
I have printed the data type all are string.
Please fix the issue.
I am able to get access token and able to pull data.