Unable to load headers from the XLSX data source ( scheduled import job: <data-source-name>)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2023 05:03 AM
Hi,
I am trying to trigger the transformation process via 'Scheduled Imports' from workflow script after copying the attachment from catalog item to data source. But I am getting "Unable to load headers from the XLSX data source ( scheduled import job: <data-source-name>)".
But when I try to load and transform the same input excel file manually, the entire process works seamlessly.
Any leads are highly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2023 03:41 PM
Wouldn't it be easier to load the data using the GlideExcelParser API?
Probably your code either does not attach the right file to the right Data Source, or it does not trigger the loading of the right Data Source.
But without code and further details it is hard to tell.
But, again, I'd go for the scripted loading of the data into an Import Set Row table, where it would automatically be transformed as records are added.