Error code -32601 in getAccountStatement

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sorcerer1980
    Junior Member
    • Jul 2011
    • 5

    #1

    Error code -32601 in getAccountStatement

    Hi all,

    I have tried to call getAccountStatement in Java, but I get the error:

    {"jsonrpc":"2.0","error":{"code":-32601,"message":"DSC-0021"},"id":"1"}

    As far as I have understood it means that the Operation is unknown. I use "SportsAPING/v1.0/getAccountStatement" as Operation Name. Anything wrong with that? Can anyone give me a hint?

    Regards, Simon
    Last edited by Sorcerer1980; 04-10-2014, 09:19 PM.
  • betdynamics
    Junior Member
    • Sep 2010
    • 534

    #2
    Change "SportsAPING" to "AccountAPING"

    Accounting operations need to go to the Accounts endpoint not the betting endpoint.

    Comment

    • Sorcerer1980
      Junior Member
      • Jul 2011
      • 5

      #3
      I am afraid that did not help, same error with Operation "AccountAPING/v1.0/getAccountStatement".

      The endpoint I use is https://api.betfair.com/exchange/account/json-rpc/v1.
      Last edited by Sorcerer1980; 05-10-2014, 10:28 AM.

      Comment

      • Sorcerer1980
        Junior Member
        • Jul 2011
        • 5

        #4
        Operation and endpoint were correct, but there was a small error in my Java, now it works.

        Comment

        • shuba
          Member
          • Feb 2009
          • 51

          #5
          DSC-0021 means - NoSuchOperation
          - Betfair ladder interface for Android platform.

          Comment

          Working...
          X