listMarketBook Exception

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lopiner
    Junior Member
    • Feb 2009
    • 117

    #1

    listMarketBook Exception

    Hi to All

    I'm using the very very helpful VB.net sample code (that was converted from C# from a forum user). Usually the code runs fine but i get an exception on listMarketBook call sometimes.

    The error is: Requested value 'HIDDEN' was not found.
    The exception occurs on the following function:

    Code:
            Public Shared Function Deserialize(Of T)(ByVal json As String) As T
                Return Newtonsoft.Json.JsonConvert.DeserializeObject(Of T)(json)
            End Function
    I don't understand if the field "HIDDEN" is present on the JSON response and not on my class or the other way. Can anyone understand? Thanks
    fooledbyabet.com
  • betdynamics
    Junior Member
    • Sep 2010
    • 534

    #2
    I suspect the issue is more likely to be in the calling routine. Where is it called from and what does that call look like?

    Comment

    • Lopiner
      Junior Member
      • Feb 2009
      • 117

      #3
      Thanks for the reply betdynamics. Im trying to see if i can get that exception again but it seems to have disappeared, strangely.
      fooledbyabet.com

      Comment

      • betdynamics
        Junior Member
        • Sep 2010
        • 534

        #4
        The known fixes for the API-NG include a fix for a RunnerStatus of HIDDEN, so I'm wondering if it was a transient reoccurence of the problem, as other people seems to have had some issues over the past few days.

        Comment

        Working...
        X