BZ2 downloaded with python API calls come back with package_not_purchased

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thewanderingjock
    Junior Member
    • Jan 2021
    • 7

    #1

    BZ2 downloaded with python API calls come back with package_not_purchased

    The same code that does the download runs to login using my credentials (that work fine to place bets), and then checks my historical purchases which also show all relevant months purchased, but after I download them, they all just read 'package_not_purchased' if I open the BZ2 file with notepad. I'm using betfairlightweight which works fine for everything else.

    Should I be using different login credentials from my live trading details? Very confused and seems to have happened for at least a week so probably an error on my part instead of server side.

    Thanks in advance for any help!
  • BetfairDeveloperProgram
    Administrator
    • Oct 2008
    • 680

    #2
    Hi thewanderingjock.

    Please can you check and confirm if you able to download the same data directly via the historical data website (via https://historicdata.betfair.com/#/mydata) and also check if you can download the data directly via the historical data API (https://historicdata.betfair.com/#/apidocs)?

    Kind Regards

    Neil

    Comment

    • thewanderingjock
      Junior Member
      • Jan 2021
      • 7

      #3
      Hi Neil thanks for prompt response.

      Yes I'm able to download the same data directly via https://historicdata.betfair.com/#/mydata.

      I have not tried the DownloadFile method directly, I will attempt that now.

      For my API calls with python that I'm getting this issue with: I've tried both my demo account and real account app_keys, but neither seem to work, though again I'm happy to be told it's an issue with my credentials, but of course I am able to place trades with these credentials.

      Thanks.
      Last edited by thewanderingjock; 03-02-2022, 05:34 PM.

      Comment

      Working...
      X