Cancel bet -32602 error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fossystem1
    Junior Member
    • Jun 2014
    • 5

    #1

    Cancel bet -32602 error

    Hello all,
    can anybody explain what mandatory parameter is missing or what is problem in parsing in next request:
    Calling: SportsAPING/v1.0/cancelOrders With args: {"marketId":"1.114507325","in
    tructions":[{"betid":"38923293567","sizeReduction":"5"}],"customerRef":"123456"
    "locale":"null"}

    Response: "{\"jsonrpc\":\"2.0\",\"error\":{\"code\":-32602,\"message\":\"DSC-0018\"},\"id\":1}"

    Thank you for advising.
  • onix250
    Junior Member
    • Nov 2009
    • 6

    #2
    MarketID MUST be specified

    Comment

    • Merlin
      Junior Member
      • Jan 2009
      • 56

      #3
      Hi,
      looks like you have a lowercase 'i' in 'betid' - it should be 'betId'
      cheers,
      Merlin

      Comment

      Working...
      X