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-boun...@lyralists.lyrasis.org 
<archivesspace_users_group-boun...@lyralists.lyrasis.org> on behalf of Eddie 
Clem <carl.c...@wilkes.edu>
Sent: Wednesday, May 20, 2020 4:18 PM
To: archivesspace_users_group@lyralists.lyrasis.org 
<archivesspace_users_group@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.c...@wilkes.edu<mailto:carl.c...@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




_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group@lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

Reply via email to