It looks like you're new here. If you want to get involved, click one of these buttons!
Node JS client
.Net API client
.Net / VBA / Excel (3rd party)
Algorithms and Strategies
Mobile and Desktop apps
Market data (WebSockets)
In this Discussion
Error while retrieving instruments
Hi, I am getting the below error intermittently while trying to retrieve the instruments through kite.instruments
kiteconnect.exceptions.DataException: Unknown Content-Type (text/html) with response: (b'\r\n502 Bad Gateway\r\n\r\n
502 Bad Gateway
can you give a solution for this?
error while retrieving instruments(NFO segment)
Kite instruments file is a huge csv dump that contains data about all the instruments that are traded for the day. It is recommended to fetch this and cache it locally at your end every day once. The local cache should be the source for all your instruments data requirements and not the upstream.
This is an error from the Cloudflare, we will raise it with them.
I got this error too. Any update or workaround?
How many times do you fetch this file in a day?