Non-interactive login with historical data - not_logged_in

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • misiek
    Junior Member
    • Oct 2018
    • 20

    #1

    Non-interactive login with historical data - not_logged_in

    Hi All, is there any problem with downloading historical data using ssoid token? I've just realized that it happens for the last 2 days. I've even tried to catch this message and get a new token. It's allowing one market download and then it's the same. It's like this on both old and new certlogin. Previously it was working for days on the same token.

    Instead of a bz2 file I am getting following inside the file:
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8" />
    <title>not_logged_in</title>
    </head>
    <body>
    not_logged_in
    </body>
    </html>
  • misiek
    Junior Member
    • Oct 2018
    • 20

    #2
    I've just realize I am also getting such response on some occasions within bz2 file:

    <!DOCTYPE html>
    <html lang="en" ng-app="myApp" class="no-js">

    <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Exchange Historical Data</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="app/style.css">


    <script>
    var dataLayer = [];
    dataLayer.push({
    'event': 'ga_pageLoad', //denotes the signal to gtm that a page has loaded.
    'ga_target_property': 'UA-96801787-1', //denotes the appropriate ga tracking id for this product and device type.
    'acc_id': null,//[account ID], //denotes the numeric account id for the user at page load.
    'vertical': 'ecomm', //denotes the channel/vertical of the loaded page. Values will include 'sports', 'games', 'promotions', 'ecomm', etc.
    'product': 'historicprices', //denotes the platform/product of the loaded page. Values will include sportsbook smx, sportsbook sbw, etc.
    'locale': null,// [locale], //denotes the language of the user at time of page load, as set by the language selector. Values will only be in iso 639-1 format.
    'reg_status': null,// [reg status], //denotes the registration status of the user at time of page load. Values will only be 'registered' or 'unregistered'. THIS IS NOT A FUNCTION OF LOGIN STATUS.
    'login_status': null,//[login status], //denotes the login status of the user at time of page load. Values will only be 'logged in' or 'logged out'.
    'jurisdiction': null,//[jurisdiction], //denotes the jurisdicton from where the user is operating in and subject to. Values will include 'uk/irl', 'international', 'spain', 'italy, etc.
    'orientation': 'desktop', //denotes the orientation of the screen at time of page load. Values will only be 'portrait', 'landscape' or 'desktop'.
    'app_id': 'historicdata', //denotes the alphanumeric app id of the app, app key or cougar key at time of page load.
    'country': null,//[country], //denotes the user's country as dictated by geo ip lookup.
    'bucket_id': null,//[bucket_id], //used when using mantis buckets for throttling different versions.
    'test_group': null,//[test_group], //used for split testing.
    'test_name': null,//[test_name], //used for split testing.
    'efid': null,//[efid], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
    'rfr': null,//[rfr], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
    'pid': null,//[pid], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
    'ttp': null,//[ttp], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
    'bid': null,//[bid], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
    'pid': null,//[pid], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
    'promo_code': null,//[promo_code], //marketing parameter. Value is set as cookie at registration and populates the gtm schema.
    'mpch': null,//[mpch], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
    'pla': null,//[pla], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
    'clkid': null,//[clkid], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
    'sid': null,//[sid], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
    'StickyTags': null,//[StickyTags], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
    'TrackingTags': null,// [trackingTags], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
    'device_model': "chrome", //denotes the marketing name of device as according to device detection service (i.e. iphone 6s, galaxy s7 edge etc.)
    'brand': "bf" //denotes the bf or pp brand.
    });
    </script>

    </script>
    <!-- Google Tag Manager -->
    <script>
    (function (w, d, s, l, i) {
    w[l] = w[l] || []; w[l].push({
    'gtm.start':
    new Date().getTime(), event: 'gtm.js'
    }); var f = d.getElementsByTagName(s)[0],
    j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =
    'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
    })(window, document, 'script', 'dataLayer', 'GTM-NN99G4H');
    </script>
    <!-- End Google Tag Manager -->
    </head>

    <body>

    <!-- Google Tag Manager (noscript) -->
    <noscript>
    <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NN99G4H" height="0" width="0" style="display:none;visibility:hidden"></iframe>
    </noscript>
    <!-- End Google Tag Manager (noscript) -->

    <xdw-header></xdw-header>
    <div class="main">
    <div ng-view class="main-container"></div>
    </div>
    <div class="clear-fix"></div>
    <xdw-footer></xdw-footer>
    <p style="text-align:center"> Build 2018-10-03</p>
    <script src="app/app.js"></script>
    <script src="app/partials.js"></script>
    </body>

    </html>

    Comment

    • misiek
      Junior Member
      • Oct 2018
      • 20

      #3
      One more hint if anyone ever looks here - it seems that the new service for certlogin does not work. Not at least for historical data. I can only download with the old service, but as mentioned above it only works for the first connection, the next attempt requires login again.

      Comment

      • BetfairDeveloperProgram
        Administrator
        • Oct 2008
        • 680

        #4
        Hi misiek,

        We are aware of the issues that you've raised regarding download reliability and the stability of the platform.

        We have started the piece of work to rewrite historic data on the backend and move away the current storage implementation which is causing slow & unreliable downloads.

        We'll provide an update as soon as we have a ETA for completion of this work. Sorry for the inconvenience in the meantime.


        Neil

        Comment

        • jonali123432
          Junior Member
          • Mar 2019
          • 1

          #5
          I'm still getting this error 3 months on and can't access the data I have paid for.. Support appear to have fobbed me off with some response that data isn't available after November despite trying to download data for October or before.

          I get the error below:

          Has anyone had any luck in successfully downloading data as it appears Betfair developer program, can't give an eta or fix the issue!

          <!DOCTYPE html>
          <html lang="en" ng-app="myApp" class="no-js">

          <head>
          <meta charset="utf-8">
          <meta http-equiv="X-UA-Compatible" content="IE=edge">
          <title>Exchange Historical Data</title>
          <meta name="description" content="">
          <meta name="viewport" content="width=device-width, initial-scale=1">
          <link rel="stylesheet" href="app/style.css">


          <script>
          var dataLayer = [];
          dataLayer.push({
          'event': 'ga_pageLoad', //denotes the signal to gtm that a page has loaded.
          'ga_target_property': 'UA-96801787-1', //denotes the appropriate ga tracking id for this product and device type.
          'acc_id': null,//[account ID], //denotes the numeric account id for the user at page load.
          'vertical': 'ecomm', //denotes the channel/vertical of the loaded page. Values will include 'sports', 'games', 'promotions', 'ecomm', etc.
          'product': 'historicprices', //denotes the platform/product of the loaded page. Values will include sportsbook smx, sportsbook sbw, etc.
          'locale': null,// [locale], //denotes the language of the user at time of page load, as set by the language selector. Values will only be in iso 639-1 format.
          'reg_status': null,// [reg status], //denotes the registration status of the user at time of page load. Values will only be 'registered' or 'unregistered'. THIS IS NOT A FUNCTION OF LOGIN STATUS.
          'login_status': null,//[login status], //denotes the login status of the user at time of page load. Values will only be 'logged in' or 'logged out'.
          'jurisdiction': null,//[jurisdiction], //denotes the jurisdicton from where the user is operating in and subject to. Values will include 'uk/irl', 'international', 'spain', 'italy, etc.
          'orientation': 'desktop', //denotes the orientation of the screen at time of page load. Values will only be 'portrait', 'landscape' or 'desktop'.
          'app_id': 'historicdata', //denotes the alphanumeric app id of the app, app key or cougar key at time of page load.
          'country': null,//[country], //denotes the user's country as dictated by geo ip lookup.
          'bucket_id': null,//[bucket_id], //used when using mantis buckets for throttling different versions.
          'test_group': null,//[test_group], //used for split testing.
          'test_name': null,//[test_name], //used for split testing.
          'efid': null,//[efid], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
          'rfr': null,//[rfr], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
          'pid': null,//[pid], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
          'ttp': null,//[ttp], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
          'bid': null,//[bid], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
          'pid': null,//[pid], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
          'promo_code': null,//[promo_code], //marketing parameter. Value is set as cookie at registration and populates the gtm schema.
          'mpch': null,//[mpch], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
          'pla': null,//[pla], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
          'clkid': null,//[clkid], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
          'sid': null,//[sid], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
          'StickyTags': null,//[StickyTags], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
          'TrackingTags': null,// [trackingTags], //marketing parameter. Variables are stored as cookies on promotions pages on betfair.com and populate dimensions in gtm schema.
          'device_model': "chrome", //denotes the marketing name of device as according to device detection service (i.e. iphone 6s, galaxy s7 edge etc.)
          'brand': "bf" //denotes the bf or pp brand.
          });
          </script>

          </script>
          <!-- Google Tag Manager -->
          <script>
          (function (w, d, s, l, i) {
          w[l] = w[l] || []; w[l].push({
          'gtm.start':
          new Date().getTime(), event: 'gtm.js'
          }); var f = d.getElementsByTagName(s)[0],
          j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =
          'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
          })(window, document, 'script', 'dataLayer', 'GTM-NN99G4H');
          </script>
          <!-- End Google Tag Manager -->
          </head>

          <body>

          <!-- Google Tag Manager (noscript) -->
          <noscript>
          <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NN99G4H" height="0" width="0" style="display:none;visibility:hidden"></iframe>
          </noscript>
          <!-- End Google Tag Manager (noscript) -->

          <xdw-header></xdw-header>
          <div class="main">
          <div ng-view class="main-container"></div>
          </div>
          <div class="clear-fix"></div>
          <xdw-footer></xdw-footer>
          <p style="text-align:center"> Build 2018-10-03</p>
          <script src="app/app.js"></script>
          <script src="app/partials.js"></script>
          </body>

          </html>

          Comment

          • geoDaSilva
            Junior Member
            • Mar 2019
            • 1

            #6
            I am having the same problem ! The bz2 files are text files containing dummy html code

            Comment

            • BetfairDeveloperProgram
              Administrator
              • Oct 2008
              • 680

              #7
              Hi All

              The issue with the pre November 2018 downloads has now been fixed. Sorry for the inconvenience caused by this issue.

              We are still working on making "November to date" historical data available. This data is currently being migrated to a new backend system and we expect this to be available from mid April.

              Kind Regards

              Neil

              Comment

              • misiek
                Junior Member
                • Oct 2018
                • 20

                #8
                That time I was just skipping some of the files I could not download, but now I cannot use this API at all. Is it down? I've been trying to download anything for the last couple of weeks (either from web page or through API), no luck.

                Comment

                • misiek
                  Junior Member
                  • Oct 2018
                  • 20

                  #9
                  Quick follow up - although web page level downloading does not seem to be working, I made stupid mistake when checking through API - this way works for me.

                  Comment

                  Working...
                  X