[Archivesspace_Users_Group] MARCXML Import Error
Custer, Mark
mark.custer at yale.edu
Wed May 20 16:30:56 EDT 2020
Eddie,
ArchivesSpace requires a few different data elements to be present before a new Resource record can be saved. Based on this error, it looks like the MARC record does not have any date information where the ArchiveSpace MARCXML importer would expect dates to be present (i.e. dates : At least 1 item(s) is required). And yet, dates are not required in a MARC bibliographic record, which is why the file can still be completely valid but not import.
If you have dates in any of the likely places, like the 008 control field, or even if there are no dates worth mentioning but you add something like "undated" to a 245 field, subfield f, then I *think* your file will likely import fine. But if not, can you attach the file so that someone can take a look?
I hope that helps,
Mark
________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Eddie Clem <carl.clem at wilkes.edu>
Sent: Wednesday, May 20, 2020 4:18 PM
To: archivesspace_users_group at lyralists.lyrasis.org <archivesspace_users_group at lyralists.lyrasis.org>
Subject: [Archivesspace_Users_Group] MARCXML Import Error
Hi! I am trying to import a MARCXML file (for Resource) into ArchivesSpace. I am getting the following error. I’ve searched the Help Center and Google, and I can’t figure out what it means. I’ve also validated the XML file with Oxygen, and it says “validation successful.” Can anyone help me decipher what this error means and how I can fix my file so that I can import them?
Thanks!
Eddie
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
IMPORT ERROR
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
The following errors were found:
dates : At least 1 item(s) is required
For JSONModel(:resource):
#<JSONModel(:resource) {"jsonmodel_type"=>"resource", "external_ids"=>[], "subjects"=>[{"ref"=>"/subjects/import_6fa10e99-e450-4716-8d2b-71e29a999aff"}, {"ref"=>"/subjects/import_d0cc91c6-9e30-48f5-a35f-3c9baf4f85d4"}, {"ref"=>"/subjects/import_0a5f133d-1760-45d2-be64-271410195fbe"}, {"ref"=>"/subjects/import_c8529087-60a9-4c2a-a182-d1ae2b0f87d3"}, {"ref"=>"/subjects/import_de69be06-90fd-4a10-b9c8-2ab9168511d4"}], "linked_events"=>[], "extents"=>[{"jsonmodel_type"=>"extent", "uri"=>nil, "number"=>"96", "extent_type"=>"pages ;", "container_summary"=>"96 pages ; 20 cm", "portion"=>"whole"}], "dates"=>[], "external_documents"=>[], "rights_statements"=>[], "linked_agents"=>[{"role"=>"creator", "terms"=>[], "ref"=>"/agents/people/import_adeb7943-39cb-4d6b-ab28-d73897843cb6"}], "restrictions"=>false, "revision_statements"=>[], "instances"=>[], "deaccessions"=>[], "related_accessions"=>[], "classifications"=>[], "notes"=>[{"jsonmodel_type"=>"note_multipart", "subnotes"=>[{"jsonmodel_type"=>"note_text", "content"=>"On cover: A guide to Bible reading for the average man."}], "uri"=>nil, "label"=>"General Note", "type"=>"odd"}], "uri"=>"/repositories/import/resources/import_d9b1ad80-0a30-46d1-9ded-715442ce5096", "level"=>"item", "language"=>"eng", "finding_aid_description_rules"=>"rda", "title"=>"An Old Testament primer / : / by Walter Evans Cooke; introduction by Burton J. Hendrick.", "id_0"=>"imported-c0ee1ab4-6789-4f90-8997-8dcbdf30c88e"}>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Eddie Clem, MLS
Technical Services Librarian
E.S. Farley Library | Wilkes University
Acquisitions, Cataloging, & Systems
[https://cdn2.hubspot.net/hubfs/53/tools/email-signature-generator/icons/phone-icon-2x.png]
570-408-4258<tel:570-408-4258>
[https://cdn2.hubspot.net/hubfs/53/tools/email-signature-generator/icons/email-icon-2x.png]
carl.clem at wilkes.edu<mailto:carl.clem at wilkes.edu>
[https://cdn2.hubspot.net/hubfs/53/tools/email-signature-generator/icons/link-icon-2x.png]
www.wilkes.edu/library<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.wilkes.edu%2Flibrary&data=02%7C01%7Cmark.custer%40yale.edu%7Cbcded5debfde41e9d77108d7fcfaf5e2%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C0%7C637256027113843473&sdata=%2Bl0kg85z9GtTQaQfWGb0aCUD7xZ6TEC4gNZfhv0vYes%3D&reserved=0>
[https://cdn2.hubspot.net/hubfs/53/tools/email-signature-generator/icons/address-icon-2x.png]
84 W. South St., Wilkes-Barre, PA 18766
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200520/c2b6e906/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 178 bytes
Desc: image001.png
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200520/c2b6e906/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 172 bytes
Desc: image002.png
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200520/c2b6e906/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 372 bytes
Desc: image003.png
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200520/c2b6e906/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 428 bytes
Desc: image004.png
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200520/c2b6e906/attachment-0007.png>
More information about the Archivesspace_Users_Group
mailing list