placeOrders operation with delayed app key

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • det
    Junior Member
    • Jul 2016
    • 1

    #1

    placeOrders operation with delayed app key

    Hi,

    I'm fairly new to the exchange API and this is my first post so forgive me if I'm not explaining my problem well enough for you to be able to help me

    I'm about to start experimenting with placing bets via the API but I can't get it to work. When sending a placeOrders request via the Sports Operations Visualiser it returns the error code: "ACCESS_DENIED".

    Is this because I'm using a delayed app key? As I understand one should be able to place bets using the delayed key as well, but I might be wrong?

    I'm waiting for the support to reactivate my live key so I haven't been able to try placeOrders using a live key yet. Still I would like to know if it is the delayed key that is the problem. I don't want to be overusing the live key once it's activated and have my account closed. While still learning the basics of the API I might as well use the delayed key (if this is possible) for exploring the betting operations.

    Here is the JSON request and corresponding response. The request is for a Horse Racing market of type WIN.

    Request data:
    [{"jsonrpc": "2.0", "method": "SportsAPING/v1.0/placeOrders", "params": {"marketId":"1.125697705","instructions":[{"selectionId":"11275946","handicap":"0","side":"B ACK","orderType":"LIMIT","limitOrder":{"size":"30" ,"price":"100","persistenceType":"LAPSE"}}]}, "id": 1}]

    Response truncated to 4,000 chars:
    [{"jsonrpc":"2.0","error":{"code":-32099,"message":"ANGX-0015","data":{"exceptionname":"APINGException","AP INGException":{"errorDetails":"","errorCode":"ACCE SS_DENIED","requestUUID":"prdang041-05120737-01e1958e6c"}}},"id":1}]
  • BetfairDeveloperProgram
    Administrator
    • Oct 2008
    • 679

    #2
    Hi DET,

    Your delayed key was disabled for betting but this has now been rectified. Sorry for the inconvenience caused.

    Kind Regards

    Neil

    Comment

    • helgrozd
      Junior Member
      • Sep 2014
      • 1

      #3
      Appkey problem

      Originally posted by Betfair Developers Program View Post
      Hi DET,

      Your delayed key was disabled for betting but this has now been rectified. Sorry for the inconvenience caused.

      Kind Regards

      Neil

      I have same problem,
      can you resolve it for me too.

      thx

      Comment

      Working...
      X