ACCESS_DENIED Error Code while using Placing a Bet API

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • David Sutcliffe
    Junior Member
    • Sep 2014
    • 30

    #1

    ACCESS_DENIED Error Code while using Placing a Bet API

    I am making an application using Betfair API,Now i want to place a bet using Betfair API.
    But as a response I get Error code- ACCESS_DENIED

    ************************************************** **************
    My log cat for Response after hitting Betfair Place Bet API-

    01-15 12:24:19.062: I/Json response(3978): {"jsonrpc":"2.0","error":{"code":-32099,"message":"ANGX-0015","data":{"exceptionname":"APINGException","AP INGException":{"errorDetails":"","errorCode":"ACCE SS_DENIED","requestUUID":"prdang001-11181055-00ef9d6d61"}}},"id":"1"}
    ************************************************** **************

    ************************************************** **************
    Here is Request Data log cat-

    01-15 12:50:18.192: I/Json request(4427): {"id":"1","jsonrpc":"2.0","method":"SportsAPING/v1.0/placeOrders","params":{"instructions":[{"handicap":0.0,"limitOrder":{"persistenceType":"L APSE","price":1.5,"size":0.01},"orderType":"LIMIT" ,"selectionId":9153263,"side":"LAY"}],"marketId":"1.116952512"}}

    ************************************************** **************

    I am Using Correct Aplication Key and My Session is alive as i have checked the Session before using this API using Keep Alive API

    Please Help me out of this problem
  • betdynamics
    Junior Member
    • Sep 2010
    • 534

    #2
    The documentation gives the following explanation for this error code:

    "The calling client is not permitted to perform the specific action e.g. the using a Delayed App Key when placing bets or attempting to place a bet from a restricted jurisdiction."

    Comment

    • David Sutcliffe
      Junior Member
      • Sep 2014
      • 30

      #3
      It worked Thanks

      Comment

      • mojovski2
        Junior Member
        • Sep 2015
        • 4

        #4
        What was the solution? I have a similar issue.

        Comment

        • Grantay.
          Junior Member
          • Jan 2010
          • 53

          #5
          Use the correct key

          Originally posted by mojovski2 View Post
          What was the solution? I have a similar issue.
          Do not use the delayed key use the live key

          Comment

          Working...
          X