List instruments = kite.GetInstruments();
I am facing this issue from the last 2-3 days. When I calling this API in Debug mode, the call never completes, it never returns.
The debug window shows messages as, Exception thrown: 'System.FormatException' in System.Private.CoreLib.dll

This message comes continuously and the call never completes.

However, the same code works fine when NOT in debug mode.

Any help will be great.

  • sujith
    Can you mention the version of library you are using and the .NET version that is being used?
  • Saleem
    KiteConnect.dll is and .NET is 6.0
  • tonystark
    @Saleem Could you try upgrading the package to latest v4.2.0?

    If that didn't help try enabling debug logs while creating new Kite object like in this snippet. Paste logs here. Make sure to remove your credentials from the logs.
Sign In or Register to comment.