Download binary file for import jobs shows an error
Question
Why is there an "Oops" error when we try to download the imported or non-imported records for import jobs in binary format?
The download in XML is working, however, the downloaded XML file can't be opened in a browser.
Answer
The root cause is "corrupted" data in the import source.
The import workflow:
While creating the file, we concatenate the import sources together and wrap them with an XML tag.
When one of the import sources contains the XML tag itself, an exception is thrown.
This results in an error when you try to download the binary file or open the downloaded XML file in the browser.
When you open the file in Notepad++ you can see the highlighted Invalid XML declaration.
The only workaround we can provide is to download the file in XML format and edit it with Notepad++.
Once you removed the invalid XML declaration you could transform the file using MARC Edit.
- Article last edited: 13-Feb-2025