Historical data

namanviz
Hello Sujith,
Hope you are doing well.

I have one query around accessing historical data.
this is my header:
{"X-Kite-Version": "3", "Authorization:token api_key:access_token"}
my url:
https://api.kite.trade/instruments/historical/13613826/minute?from=2021-12-07+09:30:00&to=2016-15-07+10:30:00

as per a previous discussion on https://kite.trade/forum/discussion/7459/historical-data-api-unable-to-form-the-request, can you please assist on the below message
{'status': 'error', 'message': 'authorization value should atleast be `api_key`:`access_token`', 'data': None, 'error_type': 'InputException'}

I think I am using the API in an incorrect way
I have tried both passing values api secret key and access token in api_key and access_token variables, respectively and adding my api secret key and access token directly instead of storing them in variables and then using them. None of the case seem to work for me and I get the same message( {'status': 'error', 'message': 'authorization value should atleast be `api_key`:`access_token`', 'data': None, 'error_type': 'InputException'}), can you please assist on this issue
Tagged:
This discussion has been closed.