zerodha / gokiteconnect

Official Go client for Kite Connect API's
MIT License
179 stars 73 forks source link

get quotes library json error #13

Closed pushand closed 5 years ago

pushand commented 5 years ago

when i try following I get below response for most of the quotes

quotes, err := s.kiteClient.GetQuote(symbols...) response: Error parsing JSON response: invalid character '<' looking for beginning of value

symbols are in format 'NSE:ADANIPOWER' so on...

vividvilla commented 5 years ago

Is this issue reproducible always? I tried running a test script and I was able to retrieve data.

pushand commented 5 years ago

I queried 3times for 1k, 1k and 500 symbols of NSE and for all 3 I got above error for many stocks while others were parsed successfully

pushand commented 5 years ago

It seems that querying about 500 stocks instead of 1000 at a time doesn't give the above trace. closing it.