Dear developers,
Am looking to use the placeOrder method of the API NG but am getting an exception as below.
Any suggestions on what may be causing this?
Possibly the application ID? Though I can run the list methods and login ok.
Not sure, it is probably something simple, but am stuck on it!
Thanks in advance for your help.
Request:
{"jsonrpc": "2.0", "method": "SportsAPING/v1.0/placeOrders", "params": {"marketId":"1.114579553","instructions":[{"selectionId":"699743","handicap":"0","side":"BAC K","orderType":"LIMIT","limitOrder":{"size":"5.0", "price":"2.16","persistenceType":"LAPSE"}}],"customerRef":"testback12"}, "id": 1}
https://api.betfair.com/exchange/betting/rest/v1.0/placeOrders/{"marketId":"1.114402505","instructions":[{"selectionId":8484249,"side":"BACK","orderType":" LIMIT"," limitOrder":{"persistenceType":"PERSIST","price":3 .6,"size":4.0}}]}
Response:
Exception from API-NG{u'jsonrpc': u'2.0', u'id': 1, u'error': {u'message': u'ANGX-0009', u'code': -32099, u'data': {u'exceptionname': u'APINGException', u'APINGException': {u'errorDetails': u'INSUFFICIENT_PRIVILEGES', u'errorCode': u'SERVICE_BUSY', u'requestUUID': u'prdang004-07021100-001bd33a80'}}}}
Am looking to use the placeOrder method of the API NG but am getting an exception as below.
Any suggestions on what may be causing this?
Possibly the application ID? Though I can run the list methods and login ok.
Not sure, it is probably something simple, but am stuck on it!
Thanks in advance for your help.
Request:
{"jsonrpc": "2.0", "method": "SportsAPING/v1.0/placeOrders", "params": {"marketId":"1.114579553","instructions":[{"selectionId":"699743","handicap":"0","side":"BAC K","orderType":"LIMIT","limitOrder":{"size":"5.0", "price":"2.16","persistenceType":"LAPSE"}}],"customerRef":"testback12"}, "id": 1}
https://api.betfair.com/exchange/betting/rest/v1.0/placeOrders/{"marketId":"1.114402505","instructions":[{"selectionId":8484249,"side":"BACK","orderType":" LIMIT"," limitOrder":{"persistenceType":"PERSIST","price":3 .6,"size":4.0}}]}
Response:
Exception from API-NG{u'jsonrpc': u'2.0', u'id': 1, u'error': {u'message': u'ANGX-0009', u'code': -32099, u'data': {u'exceptionname': u'APINGException', u'APINGException': {u'errorDetails': u'INSUFFICIENT_PRIVILEGES', u'errorCode': u'SERVICE_BUSY', u'requestUUID': u'prdang004-07021100-001bd33a80'}}}}


Comment