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}]
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}]


Comment