I found the reason. On your Kite Connect page you have incorrectly written how the post data is submitted via requests.post function of requests module in Python
Default payload is JSON format. Your documentation on site is incorrect. Please correct it. It should be like this
You can refer to example here.
Default payload is JSON format. Your documentation on site is incorrect. Please correct it. It should be like this
CORRECT STYLE
payload = {
"param1" : data1,
"param2" : data2,
}
INCORRECT STYLE (Mentioned on Kite Connect Website Documentation)
payload = {
"param1=data1",
"param2=data2"
}