400 Bad Request with delayed api key

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • spenouser
    Junior Member
    • Sep 2023
    • 1

    #1

    400 Bad Request with delayed api key

    Hi,
    I'm able to get a session token from https://identitysso.betfair.com.au/api/login but when I make a follow-up request it gives a 400 error.
    My follow up request looks like:

    POST https://api.betfair.com/exchange/bet...istMarketBook/
    X-Application: RYsbRhPsjnZ0jiJe
    X-Authentication: the-token-from-login
    content-type: application/json

    {
    "filter": {}
    }​

    any help is appreciated
  • doronthybell
    Junior Member
    • Nov 2023
    • 1

    #2
    Hello, I think you should ensure that you have included all the required headers and that their values are correct. The headers you provided in your example (X-Application, X-Authentication, content-type) seem appropriate, but make sure the values are accurate.

    online games
    Last edited by doronthybell; 07-11-2023, 12:43 AM.

    Comment

    Working...
    X