Error in getaccountdetails

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bascoe
    Member
    • Sep 2018
    • 42

    #1

    Error in getaccountdetails

    Anyone else having issues with Getaccount details? Stopped working today with no changes, I get a bad request response

    "{""jsonrpc"": ""2.0"", ""method"":""AccountAPING/v1.2/getAccountDetails"",""params"": null, ""id"": 1}"​
  • BetfairDeveloperProgram
    Administrator
    • Oct 2008
    • 680

    #2
    Hi Bascoe

    We are investigating this issue, but have been unable to reproduce this today. Is this behaviour still occurring for you?

    Kind Regards

    Neil

    Comment

    • Bascoe
      Member
      • Sep 2018
      • 42

      #3
      Yes it is still occuring. Here is my function:
      "{""jsonrpc"": ""2.0"", ""method"":""AccountAPING/v1.2/getAccountDetails"",""params"": null, ""id"": 1}"​

      Comment

      • Bascoe
        Member
        • Sep 2018
        • 42

        #4
        Public Function InvokeAccountUk(Of T)(ByVal method As String, Optional ByVal args As IDictionary(Of String, Object) = Nothing) As T

        Comment

        • BetfairDeveloperProgram
          Administrator
          • Oct 2008
          • 680

          #5
          Thanks Bascoe. Are you sending the following header with your request?

          Accept-Encoding: gzip, deflate

          If so, please can you try sending the request without this header and advise if this resolves the issue.

          If not, please can you send an example of a failing requesting, including the timestamp, request, response and your App Key details to bdp@betfair.com
          ?

          Thanks

          Neil

          Comment

          • Bascoe
            Member
            • Sep 2018
            • 42

            #6
            Thanks Neil, as I advised Mitch in BF Aus, removing the gzip header fixed the issue for both getaccount details and getaccount funds

            Comment

            Working...
            X