Erro Code DUPLICATE_TRANSACTION while placing a bet

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • David Sutcliffe
    Junior Member
    • Sep 2014
    • 30

    #1

    Erro Code DUPLICATE_TRANSACTION while placing a bet

    Hello
    I am placing the bet through Betfair PlaceBet API of betfair through my android application. For some runner of same Market it returns DUPLICATE_TRANSACTION error code, while for some runner of same market, it gets success. I am plaing bet in a row, like for runner 1 first 2 second after that for runner 3 then 4... like this. SO sometimes it returns success and sometimes it returns DUPLICATE_TRANSACTION error code.
    Plese help me out
  • betdynamics
    Junior Member
    • Sep 2010
    • 534

    #2
    The documentation https://api.developer.betfair.com/se...eportErrorCode may give you a hint.

    Comment

    • David Sutcliffe
      Junior Member
      • Sep 2014
      • 30

      #3
      what it means duplicate customer referece data submitted for Duplication_tranaction error code. Can you please little explain it if possible.?
      Is this of because i am plaing the bet continously?

      Comment

      • betdynamics
        Junior Member
        • Sep 2010
        • 534

        #4
        When you place a bet you have the option to specify a customer reference (see https://api.developer.betfair.com/se...ni/placeOrders)

        If the customer reference is the same for two bets then you will get the duplicate transaction error.

        If you don't want to specify a customer reference, then I would suggest that you omit the customerRef parameter from your json string.

        Comment

        • David Sutcliffe
          Junior Member
          • Sep 2014
          • 30

          #5
          Ok thanks. I am trying now as you suggested.

          Comment

          Working...
          X