Issue in Kite Connect API 3 Headers

arsh_makker
Hi all,

I was trying to get the positions open via the 'https://api.kite.trade/portfolio/positions/' and it kept returning an error:
{
"status": "error",
"message": "Invalid `api_key` or `access_token`.",
"data": null,
"error_type": "InputException"
}


As soon as I disabled the header 'X-Kite-Version:3', it starting working.

Please update the documentation/update the headers to make them backward/forward compatible.
Regards
ARsh
Sign In or Register to comment.