Im getting a 400 error when trying to request things

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sadasdasdasdad
    Junior Member
    • May 2019
    • 1

    #1

    Im getting a 400 error when trying to request things

    Hey everyone,

    I'm trying to request data via the API. I'm using a Java + Spring App for that. I'm able to login/logout successfully. But whenever I try to send a POST request against the REST API, ill get an 400 error and the following message:

    {
    • faultcode: "Client",
    • faultstring: "DSC-0008",
    • detail: { }
    }

    Do any of you have an idea what this could be about? I'll send:

    X-Application
    X-Authentication
    Accept
    content-type

    as the header and an empty filter as payload with the post request. I'm requesting against the endpoint
    https://api.betfair.com/exchange/bet...istEventTypes/ BR/ Matt
  • WTPooh
    Member
    • May 2012
    • 88

    #2
    DSC-0008 JSONDeserialisationParseFailure
    JSON POST data for empty filter:
    {
    "filter" : { }
    }

    Comment

    Working...
    X