WaitingForActivation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LankyStreak
    Junior Member
    • Aug 2011
    • 5

    #1

    WaitingForActivation

    My apologies if this is blindingly obvious but I'm new to API-NG.

    I'm experimenting with the new API using a C# application. It logs in okay with a certificate and app key, and the response is SUCCESS with a valid Session Id so I must be doing something right. However. . .

    . . . any subsequent calls to the API give a response as follows:
    Status = WaitingForActivation
    Method = {null}
    Result = {Not yet computed}

    For example I might request listCurrencyRates for GBP to https://api.betfair.com/exchange/account/json-rpc/v1
    but it always returns the same response.

    Where am I going wrong? What does WaitingForActivation mean? I can't find it in this forum or the documentation.
  • betdynamics
    Junior Member
    • Sep 2010
    • 534

    #2
    That suggests that you are using the Task Parallel Library (TPL) under C#.

    The Waiting for Activation status has nothing to do with the API-NG - it is all about the TPL waiting for the task to be initiated.

    What code are you using as the basis of the calls you are making?

    Comment

    • LankyStreak
      Junior Member
      • Aug 2011
      • 5

      #3
      This might be the case, although I'm not familiar with the TPL. I'm relatively new to C# and am using a library posted on this forum by joelpob and available here: https://github.com/joelpob/betfairng.

      It's still an enormous help to understand that it's my client application and not the API that's giving this response. Clearly I have more reading to do, and some tracing of the code in the debugger. Thank you betdynamics.

      Comment

      • betdynamics
        Junior Member
        • Sep 2010
        • 534

        #4
        Just to let you know that I have exactly the same problem with that library, so I would suggest starting somewhere else and coming back to it once you are more familiar with the new API-NG.

        Comment

        Working...
        X