Error code DSC-0008

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ttqay
    Junior Member
    • Jul 2015
    • 2

    #1

    Error code DSC-0008

    Hi guys

    I had an app that's been working since last year without issue.

    Now, since yesterday (Monday 27th), I am hitting problems. Specifically, using the solution provided online (c#) the issue is that
    using (WebResponse response = GetWebResponse(request))
    using (Stream stream = response.GetResponseStream())
    using (StreamReader reader = new StreamReader(stream, Encoding.UTF8))
    {
    var jsonResponse = JsonConvert.Import<T>(reader);


    jsonResponse evaluates to null. When I type the url: https://api.betfair.com/exchange/bet...arketCatalogue into the browser, I get the response:
    {"jsonrpc":"2.0","error":{"code":-32700,"message":"DSC-0008"}}


    Has something changed with BF API over the weekend?

    Thanks
  • betdynamics
    Junior Member
    • Sep 2010
    • 534

    #2
    Have you made the necessary changes for the removal of "Expect:100 continue" as per https://forum.bdp.betfair.com/showthread.php?t=2900

    Comment

    • ttqay
      Junior Member
      • Jul 2015
      • 2

      #3
      Thanks mate

      Thats totally fixed the issue.

      Many many many thanks

      Comment

      • zeal
        Junior Member
        • Nov 2014
        • 20

        #4
        Any idea how to code this in excel vba?
        Somethimes I got this error. I got no idea how to fix this, and the sampels are not updated yet. :/

        Comment

        • betdynamics
          Junior Member
          • Sep 2010
          • 534

          #5
          I don't think Excel VBA sets the "Expect:100 Continue" flag so I'm not sure any changes are necessary.

          Comment

          • zeal
            Junior Member
            • Nov 2014
            • 20

            #6
            Thank you for the answer. It was my mistake. Some other old programs made me this error. So I have just turned them off.

            Comment

            Working...
            X