\r\n\r\n\r\n' Traceback (most recent call last): File "api/app/test/test_kite.py", line 19, in kite.mf_instruments() File "/Users/p/venvs/s-3.7/lib/python3.7/site-packages/kiteconnect/connect.py", line 536, in mf_instruments return self._parse_mf_instruments(self._get("mf.instruments")) File "/Users/p/venvs/s-3.7/lib/python3.7/site-packages/kiteconnect/connect.py", line 817, in _get return self._request(route, "GET", params) File "/Users/p/venvs/s-3.7/lib/python3.7/site-packages/kiteconnect/connect.py", line 894, in _request content=r.content)) kiteconnect.exceptions.DataException: Unknown Content-Type (text/html) with response: (b'\r\n403 Forbidden\r\n\r\n
The message returned is : Unsupported Authorization Type
My api accounts are active. Please check and revert as my programs are not running. Thanks.
This is the response I am getting. (I am intentionally changing the html tags as the editor renders it to a html page.
"""
html/>
head>
title 403 Forbidden /title
/head
body
center
h1>403 Forbidden
center>cloudflare</center
/body
/html
"""
DEBUG:urllib3.connectionpool:https://api.kite.trade:443 "GET /mf/instruments HTTP/1.1" 403 None
DEBUG:kiteconnect.connect:Response: 403 b'\r\n403 Forbidden\r\n\r\n
403 Forbidden
Traceback (most recent call last):
File "api/app/test/test_kite.py", line 19, in
kite.mf_instruments()
File "/Users/p/venvs/s-3.7/lib/python3.7/site-packages/kiteconnect/connect.py", line 536, in mf_instruments
return self._parse_mf_instruments(self._get("mf.instruments"))
File "/Users/p/venvs/s-3.7/lib/python3.7/site-packages/kiteconnect/connect.py", line 817, in _get
return self._request(route, "GET", params)
File "/Users/p/venvs/s-3.7/lib/python3.7/site-packages/kiteconnect/connect.py", line 894, in _request
content=r.content))
kiteconnect.exceptions.DataException: Unknown Content-Type (text/html) with response: (b'\r\n403 Forbidden\r\n\r\n
403 Forbidden