Table populates from JSON data from a third party API works fine in preview but publish its just blank

will provide code and example if allowed, this site keeps saying im not allowed to post links but im not posting any links?

i see this in the console but i dont do anything with split…
t.split is not a function
at g (utils.ts:33)
at TableBody.tsx:266

var rows = [];
var row = {};
row [ ‘’ + ID + ‘’ ] = element . TeamName ;
rows . push ( row );
let columns = $w ( “#picksTable” ). columns = [];
weeks . forEach ( week => {
columns . push ( {
“id” : week . Id . toString (),
“label” : "Week " + week . Week ,
“width” : 60 ,
“dataPath” : week . Week ,
“visible” : true ,
“type” : “string”
})
});
$w ( “#picksTable” ). columns = columns ;
$w ( “#picksTable” ). rows = rows ;

editor . wix. com/html/editor/web/renderer/edit/0ae594c1-9dc9-47eb-9974-7b3b2afaada1?metaSiteId=e04876ff-7cda-4737-80b4-8729e8b4cc9a

87 guest guest 87 1 Arsenal 1 1 Osheas League Out true 3097 carlos sua 88 guest guest 88 18 Watford 1 1 Osheas League Out true 3098 carloss sua

ok so this was all me, when i set my column dataPath it was a integer coming from that object
“dataPath” : week . Week ,

for some reason it worked in preview but oh well to get it to work in publish i just had to add
“dataPath” : week . Week+“” , or any other to string method u want