☰
Login
Signup
Home
›
API clients
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
14K
All Categories
0
Incidents
157
Node JS client
40
Go client
794
.Net API client
383
Kite Publisher
537
.Net / VBA / Excel (3rd party)
462
Algorithms and Strategies
1K
Java client
1.1K
API clients
406
PHP client
4.1K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
General
In this Discussion
May 2020
sujith
error message":"`api_key` should be minimum 6 characters in length."
bharathkatari
May 2020
in
API clients
POST
https://api.kite.trade/session/token
POST data:
{
"api_key": "XXXXXXXXXXXXXXX",
"request_token": "XXXXXXXXXXXXXXXXXXXXX",
"checksum": "XXXXXXXXXXXXXXXXX"
}
Headers:
Connection: keep-alive
X-Kite-Version: 3
Content-Type: application/json
Content-Length: 150
Host: api.kite.trade
User-Agent: Apache-HttpClient/4.5.10 (Java/11.0.6)
Response:
{"status":"error","message":"`api_key` should be minimum 6 characters in length.","data":null,"error_type":"InputException"}
I am specifying valid api_key which is of 16 characters along with valid request_token and checksum sha256 (api_key + request_token + api_secret)
Tagged:
API
error
access_token
sujith
May 2020
It is a form POST request and not JSON POST request.
Sign In
or
Register
to comment.