Connexion error: Import failed. Reason: Failed to convert MARC record to MARC XML
Symptom
- When trying to export a record in Connexion client, you receive the error message Import failed. Reason: Failed to convert MARC record to MARC XML in the Gateway Export status window.
Applies to
- Connexion client
Resolution
This error appears when something in the Bibliographic record you are trying to import can't be converted to XML. This can happen if you have a very large (over 9999 characters) tag or you have a character that is not allowed in XML or your character set. If the issue is length, you can either break up your tag into smaller tags to get the record to go through. If the issue is due to a forbidden character, make sure that your Tools > Options > Export Record Characteristics > Bibliographic records > Character Set is set to UTF-8 Unicode and/or copy the text into a text editor that allows you to see and delete hidden characters, then copy it over top of the bad text in the MARC record.
Additional information
There is more information on what characters are allowed in an XML document.