[Help] Invalid_APP_Key

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gazzbut
    Junior Member
    • Jan 2015
    • 7

    #1

    [Help] Invalid_APP_Key

    I am getting invalid app key for both delayed and live keys. When I look at the keys in the visualiser they both say 'subscription required'. Is this correct?

    Cheers.
  • BetfairDeveloperProgram
    Administrator
    • Oct 2008
    • 679

    #2
    Hi gazzbut,

    Yes, both App Key require a subscription which is your Betfair account by default.

    If you are still receiving the error, please provide further details of the request/s you are making and also ensure that you are using the sessionToken of the account associated with your assigned App Keys.

    Thanks

    Neil

    Comment

    • gazzbut
      Junior Member
      • Jan 2015
      • 7

      #3
      Hi Neil,

      Thanks for your reply. I found if I enclose the appKey in "" I no longer get an error on the appkey but I am hitting invalid_session_information. I login ok and have confirmed the session key I am sending is the one I get at login. I have tried the session key with and without "" but neither work.

      The appkey is definitely associated with my account.

      The request I am sending is:

      {"jsonrpc":"2.0","method":"SportsAPING/v1.0/listEventTypes","id":"1","params":{"filter":{}}}

      Response:

      {"jsonrpc":"2.0","error":{"code":-32099,"message":"ANGX-0003","data":{"exceptionname":"APINGException","AP INGException":{"errorDetails":"","errorCode":"INVA LID_SESSION_INFORMATION","requestUUID":"prdang004-11181112-01084720e2"}}},"id":"1"}

      Cheers.

      Comment

      • gazzbut
        Junior Member
        • Jan 2015
        • 7

        #4
        Not to worry, embarrassing user error Somewhere in my code my appkey and session token have got mixed up...working now. doh!

        Comment

        Working...
        X