Reimporting data from files stuck in DataLoadUploadLog

#1

In a rare case when calling reprocess on a stuck DataLoadUploadLog file/entry, reprocessing it by calling importData may reveal more information:

q = DataLoadContent.fetch({filter:"id=='<value-in-content-column-of-DataLoadUploadLog>'"}).objs[0]
// not q.reprocess()
CanonicalMyType.importData({content: {content: q.readString(), contentType: 'CanonicalMyType'}})
1 Like