Problem setting up API keys for API-NG

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Quant
    Junior Member
    • Nov 2013
    • 1

    #1

    Problem setting up API keys for API-NG

    I've tried setting up the API keys using the API-NG Visualiser tool but I've ran into some problems.

    When I tried to call the createDeveloperAppKeys method I got the following response:

    Code:
    [{"jsonrpc":"2.0","error":{"code":-32099,"message":"AANGX-0008","data":{"AccountAPINGException":{"errorDetails":"Max number of app keys already created for account","errorCode":"APP_KEY_CREATION_FAILED","requestUUID":"prdaan001-10091152-0000dbd874"},"exceptionname":"AccountAPINGException"}},"id":1}]
    but when I try to retrieve any existing keys using getDeveloperAppKeys I get this unknown InternalError:

    Code:
    [{"jsonrpc":"2.0","error":{"code":-32099,"message":"AANGX-0003","data":{"AccountAPINGException":{"errorDetails":"InternalError : DSC-0005","errorCode":"UNEXPECTED_ERROR","requestUUID":"prdaan001-10091152-0000dbd881"},"exceptionname":"AccountAPINGException"}},"id":1}]
    Any ideas what's going on? Do I need to do anything differently?

    As a note the session token (ssoid) I've used for the Visualiser tool is the one from the ssoid cookie on betfair.com.
  • hudujava
    Junior Member
    • Feb 2010
    • 1

    #2
    Any updates on this? I have the exact same problem

    Comment

    • Keyser
      Junior Member
      • Dec 2013
      • 6

      #3
      Originally posted by Quant View Post
      I've tried setting up the API keys using the API-NG Visualiser tool but I've ran into some problems.

      When I tried to call the createDeveloperAppKeys method I got the following response:

      Code:
      [{"jsonrpc":"2.0","error":{"code":-32099,"message":"AANGX-0008","data":{"AccountAPINGException":{"errorDetails":"Max number of app keys already created for account","errorCode":"APP_KEY_CREATION_FAILED","requestUUID":"prdaan001-10091152-0000dbd874"},"exceptionname":"AccountAPINGException"}},"id":1}]
      but when I try to retrieve any existing keys using getDeveloperAppKeys I get this unknown InternalError:

      Code:
      [{"jsonrpc":"2.0","error":{"code":-32099,"message":"AANGX-0003","data":{"AccountAPINGException":{"errorDetails":"InternalError : DSC-0005","errorCode":"UNEXPECTED_ERROR","requestUUID":"prdaan001-10091152-0000dbd881"},"exceptionname":"AccountAPINGException"}},"id":1}]
      Any ideas what's going on? Do I need to do anything differently?

      As a note the session token (ssoid) I've used for the Visualiser tool is the one from the ssoid cookie on betfair.com.
      same problem for me

      i'm pretty much stuck now, any help would be appreciated

      thanks

      Comment

      • Daggg
        Junior Member
        • Nov 2013
        • 7

        #4
        I did it vary fast.
        1. SSOID from your betfair cookies is your session_token id.
        2. Proper valet (UK or AUS).
        3. Some unical (your) name for your API-NG futura application.

        Thath's it. Pair should be created (attachment).
        Attached Files

        Comment

        • Keyser
          Junior Member
          • Dec 2013
          • 6

          #5
          Originally posted by Daggg View Post
          I did it vary fast.
          1. SSOID from your betfair cookies is your session_token id.
          2. Proper valet (UK or AUS).
          3. Some unical (your) name for your API-NG futura application.

          Thath's it. Pair should be created (attachment).
          thanks for the reply mate, but I still get this

          Exception in response:
          Exception: AccountAPINGException
          Error Code: APP_KEY_CREATION_FAILED
          Error Details: Max number of app keys already created for account

          I started this project a while back and have just returned to it now that i am in a position to utilise the new betfair api, i guess i should have written down my old keys

          any chance one of the betfair team could reset my account or something?

          thanks

          Comment

          • gus
            Senior Member
            • Jan 2009
            • 134

            #6
            If you've already created an appKey, but forgotten it, but can remember the appName that you gave when creating it, then you can retrieve the appKey via the Visualiser:


            https://api-ng.betstores.com/account/

            by entering your ssoid (cookie) code and the appName and using getDeveloperAppKeys.

            Comment

            • Daggg
              Junior Member
              • Nov 2013
              • 7

              #7
              Originally posted by gus View Post
              If you've already created an appKey, but forgotten it, but can remember the appName that you gave when creating it, then you can retrieve the appKey via the Visualiser:
              Exactly. As I did when created screenshot.
              The last option (but worked also) is to write to betfair support. They will answer and help. 3 keys pair maximum I think(?)

              The question is: how to kill (avoid) delay key and place bet through API-NG?

              Comment

              • Keyser
                Junior Member
                • Dec 2013
                • 6

                #8
                thanks lads, i've raised a ticket with support as i can't remember my old app names

                cheers for the help

                Comment

                • gus
                  Senior Member
                  • Jan 2009
                  • 134

                  #9
                  Originally posted by Keyser View Post
                  thanks lads, i've raised a ticket with support as i can't remember my old app names

                  cheers for the help
                  Actually, I've just checked and you don't even need the appName.

                  All you need to do on the Visualiser is enter your ssoid (cookie) code, choose getDeveloperAppKeys, and then hit the 'Execute' button and it will show your appName/appKey pairs (assuming you've created one).

                  Which makes sense actually since you don't need to send the appName when you use getDeveloperAppKeys programmatically.

                  Comment

                  • Keyser
                    Junior Member
                    • Dec 2013
                    • 6

                    #10
                    Originally posted by gus View Post
                    Actually, I've just checked and you don't even need the appName.

                    All you need to do on the Visualiser is enter your ssoid (cookie) code, choose getDeveloperAppKeys, and then hit the 'Execute' button and it will show your appName/appKey pairs (assuming you've created one).

                    Which makes sense actually since you don't need to send the appName when you use getDeveloperAppKeys programmatically.
                    haha, you're a star, i was focusing on the createDeveloperAppKeys too much, i should learn to read replies properly

                    all sorted now, cheers mate!

                    Comment

                    Working...
                    X