[Archivesspace_Users_Group] Can't Transfer Resources Between Repositories

brian brianjhoffman at gmail.com
Wed Oct 14 10:45:34 EDT 2015


When you create a Repository record in Aspace, it quietly creates a Corporate Entity agent record to represent the repository. Is it possible that at some point you deleted that agent record for the transferring repository?




<div>-------- Original message --------</div><div>From: "Ladd, Marcus" <laddmm at miamioh.edu> </div><div>Date:10/14/2015  9:29 AM  (GMT-05:00) </div><div>To: archivesspace_users_group at lyralists.lyrasis.org </div><div>Cc:  </div><div>Subject: [Archivesspace_Users_Group] Can't Transfer Resources Between	Repositories </div><div>
</div>Has anyone else been having issues with transferring resources between repositories? I've been stumped on this for months. Every time I try and transfer a resources (regardless of which resource or to/from which repository), I get the following error:

Transfer Failed: {"error":{"linked_agents/0/ref":["Must be one of: JSONModel(:agent_corporate_entity) uri, JSONModel(:agent_family) uri, JSONModel(:agent_person) uri, JSONModel(:agent_software) uri (you provided a String)"]},"warning":null,"invalid_object":"#<JSONModel(:event) {\"linked_agents\"=>[{\"role\"=>\"transmitter\", \"ref\"=>\"/agents/corporate_entities\"}, {\"role\"=>\"recipient\", \"ref\"=>\"/agents/corporate_entities/40\"}], \"linked_records\"=>[{\"role\"=>\"transfer\", \"ref\"=>\"/repositories/5/resources/240\"}], \"event_type\"=>\"custody_transfer\", \"timestamp\"=>\"2015-08-11T20:31:45Z\", \"jsonmodel_type\"=>\"event\", \"external_ids\"=>[]}>"}

I have also attached a screenshot of the error if anyone is able to provide any suggestions.
Thanks,
Marcus

--------
Marcus Ladd
Special Collections Digital Librarian
Miami University, Oxford, OH
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20151014/d28ce480/attachment.html>


More information about the Archivesspace_Users_Group mailing list