Web.Contents failed to get contents from 'https://api.kite.trade/quote/ohlc?

shivendrareddy
UNABLE TO RECEIVE DATA FROM KITE CONNECT API. REQUESTING RESOLUTION!

i have been using kite connect api to get OHLC data of stocks in my excel sheets to monitor the values from past 1 year. but today there was an error occurred mentioning the error as follows:

DataSource.Error: Web.Contents failed to get contents from 'https://api.kite.trade/quote/ohlc?api_key=&access_token=SliXBzIlPUzkif311BJoHUeQDfN7Ot7R&i=NSE:MHLXMIRU&i=NSE:REPRO&i=NSE:BANSWRAS' (400): Bad Request
Details:
DataSourceKind=Web
DataSourcePath=https://api.kite.trade/quote/ohlc
Url=https://api.kite.trade/quote/ohlc?api_key=&access_token=SliXBzIlPUzkif311BJoHUeQDfN7Ot7R&i=NSE:MHLXMIRU&i=NSE:REPRO&i=NSE:BANSWRAS

  • sujith
    We have always recommended using header based authentication requests. Query params based authentication was allowed for legacy reasons only. You will have to switch to header based authentication.
  • sujith
    You can refer to the documentation here.
Sign In or Register to comment.