Live data not loading any longer...

Hi,
Live data seem not to load any longer on my website table for now 1 or 2 hours. Everything works fine on the dev platform in preview mode, and on the “change live data” screen, but on the public website, a “loading…” message appears on the table instead of the data…

site address : https://www.collongebasketclub.net/

Any thoughts ?

Hi,

Make sure the permissions for the ‘Match’ collection are set up correctly.

That was it Ido, I made accidentally wrong changes to the permissions, as the website has gone read-write from today on…
Thank you for the very very fast answer :slight_smile:

I am now facing another issue. on the “Le Club/saisie matches” reserved page, the user is supposed to be able to update or insert records, but neither of these work on the public site, whereas they do on the preview. Matter of permission ? but I did try several different. Or did I miss something and not really save/insert the data in the live collection ?
Here is the code for that :

if (save_toggle === 0) {  // save mods
     $w('#dataset1').setFieldValue('dateHeure',dt_finale);
     $w('#dataset1').setFieldValue('heure',(tH + ':' + tM));
     $w('#dataset1').setFieldValue('equipe',$w('#input1').value);
     $w('#dataset1').setFieldValue('championnat',$w('#input2').value);
     $w('#dataset1').setFieldValue('batBattu',$w('#input3').value);
     $w('#dataset1').setFieldValue('advLieu',$w('#input4').value);
     $w('#dataset1').setFieldValue('score',$w('#input5').value);
     $w('#dataset1').save()
        .catch( (err) => {
 let errMsg = err;
        console.log(errMsg);
        } );
     }
 if (save_toggle === 1) {  // insert
 let toInsert = {
 'dateHeure':  dt_finale,
 'heure':   (tH + ':' + tM),
 'equipe': $w('#input1'),
 'championnat': $w('#input2'),
 'batBattu': $w('#input3'),
 'advLieu': $w('#input4'),
 'score': $w('#input5')
        ('#dataset1').insert(toInsert)
        .then( (results) => {
 let item = results;
            console.log(results);
            } )
        }
        .catch( (err) => {
 let errMsg = err;
        console.log(errMsg);
        } );
}   }