PlaceOrder issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gian
    Junior Member
    • Oct 2018
    • 9

    #1

    PlaceOrder issue

    Hi everybody,
    I'm trying to use the BETFAIR API (delayed version) for testing purpose,
    everything works fine, except for placeOrders requests....

    REQUEST:
    {"marketId":"1.148553195","instructions":[{"selectionId":"44503","side":"LAY","orderType" :"L IMIT","limitOrder":{"price":30.00,"size":1.44,"per sistenceType":"PERSIST"}}]}

    ANSWER:
    {'status': 'FAILURE', 'errorCode': 'PERMISSION_DENIED', 'instructionReports': [{'status': 'FAILURE', 'errorCode': 'ERROR_IN_ORDER', 'instruction': {'orderType': 'LIMIT', 'selectionId': 44503, 'limitOrder': {'price': 30.0, 'persistenceType': 'PERSIST', 'size': 1.44}, 'side': 'LAY'}}], 'marketId': '1.148553195'}

    could somebody tell me what's going on? Is it an issue that depends on API delayed version or something else?

    Thanks in advance

    G.
    Last edited by Gian; 09-10-2018, 03:26 PM.
  • only1jake
    Junior Member
    • Nov 2016
    • 29

    #2
    Hi Gian, when I check the API reference here: https://docs.developer.betfair.com/d...eportErrorCode

    It shows this for your error:
    PERMISSION_DENIED Business rules do not allow order to be placed. You are either attempting to place the order using a Delayed Application Key or from a restricted jurisdiction (i.e. USA)

    Comment

    Working...
    X