<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof">I don't know much about Archivematica, but it looks like it's just throwing a "I can't find that URL" error. </div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
When you go to that same URL in a web browser, do you get anything?</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Kirill Batyuk
<kbatyuk@whoi.edu><br>
<b>Sent:</b> Thursday, December 15, 2022 1:04 PM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Archivematica DIP upload into Archivesspace problem</font>
<div> </div>
</div>
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
{color:blue;
text-decoration:underline}
p.x_xmsonormal, li.x_xmsonormal, div.x_xmsonormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
span.x_EmailStyle23
{font-family:"Calibri",sans-serif;
color:windowtext}
.x_MsoChpDefault
{font-size:10.0pt}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
{}
-->
</style>
<div lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="x_WordSection1">
<p class="x_MsoNormal">I am sure it is. All the records in public interface in our ASpace are in /repositories/2/</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Kirill.</p>
<p class="x_MsoNormal"> </p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="x_MsoNormal"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org>
<b>On Behalf Of </b>Blake Carver<br>
<b>Sent:</b> Thursday, December 15, 2022 12:47 PM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Archivematica DIP upload into Archivesspace problem</p>
</div>
</div>
<p class="x_MsoNormal"> </p>
<div>
<p class="x_MsoNormal">Are you sure the repository ID is 2? Could it be 3?</p>
</div>
<div>
<div id="x_Signature">
<div>
<div id="x_divtagdefaultwrapper">
<div name="x_divtagdefaultwrapper">
<p class="x_MsoNormal" style="background:white"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
</div>
</div>
</div>
</div>
<div class="x_MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="x_divRplyFwdMsg">
<p class="x_MsoNormal"><b><span style="color:black">From:</span></b><span style="color:black">
<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">archivesspace_users_group-bounces@lyralists.lyrasis.org</a> <<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>>
on behalf of Kirill Batyuk <<a href="mailto:kbatyuk@whoi.edu">kbatyuk@whoi.edu</a>><br>
<b>Sent:</b> Thursday, December 15, 2022 12:24 PM<br>
<b>To:</b> <a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a> <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a>><br>
<b>Subject:</b> [Archivesspace_Users_Group] Archivematica DIP upload into Archivesspace problem</span>
</p>
<div>
<p class="x_MsoNormal"> </p>
</div>
</div>
<div>
<div>
<p class="x_xmsonormal">Hello,</p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal">Possible I can get some help with setting up DIP upload from Archivematica to ArchivesSpace.</p>
<p class="x_xmsonormal">I see to have set everything up per instructions. But, when I try to upload the DIP I get an error. The Archivematica log shows the following:</p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal">ERROR 2022-12-15 17:12:53 agentarchives.archivesspace.client:client:_request:165: Response code: 404</p>
<p class="x_xmsonormal">ERROR 2022-12-15 17:12:53 agentarchives.archivesspace.client:client:_request:166: Response body: {"error":"Sinatra::NotFound"}</p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal">ERROR 2022-12-15 17:12:53 django.request:exception:handle_uncaught_exception:135: Internal Server Error: /ingest/865b46b7-f16f-40a2-af7a-52e0ef433f85/upload/as/</p>
<p class="x_xmsonormal">Traceback (most recent call last):</p>
<p class="x_xmsonormal"> File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/django/core/handlers/exception.py", line 41, in inner</p>
<p class="x_xmsonormal"> response = get_response(request)</p>
<p class="x_xmsonormal"> File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/django/core/handlers/base.py", line 187, in _get_response</p>
<p class="x_xmsonormal"> response = self.process_exception_by_middleware(e, request)</p>
<p class="x_xmsonormal"> File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/django/core/handlers/base.py", line 185, in _get_response</p>
<p class="x_xmsonormal"> response = wrapped_callback(request, *callback_args, **callback_kwargs)</p>
<p class="x_xmsonormal"> File "/usr/share/archivematica/dashboard/components/ingest/views_as.py", line 79, in wrapper</p>
<p class="x_xmsonormal"> return func(client, *args, **kwargs)</p>
<p class="x_xmsonormal"> File "/usr/share/archivematica/dashboard/components/ingest/views_as.py", line 102, in ingest_upload_as</p>
<p class="x_xmsonormal"> uuid,</p>
<p class="x_xmsonormal"> File "/usr/share/archivematica/dashboard/components/ingest/pair_matcher.py", line 74, in list_records</p>
<p class="x_xmsonormal"> page = helpers.pager(resources, PAGE_SIZE, page_number)</p>
<p class="x_xmsonormal"> File "/usr/share/archivematica/dashboard/components/helpers.py", line 126, in pager</p>
<p class="x_xmsonormal"> page = paginator.page(current_page_number)</p>
<p class="x_xmsonormal"> File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/django/core/paginator.py", line 62, in page</p>
<p class="x_xmsonormal"> return self._get_page(self.object_list[bottom:top], number, self)</p>
<p class="x_xmsonormal"> File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/lazy_paged_sequence.py", line 57, in __getitem__</p>
<p class="x_xmsonormal"> return [self.__getitem__(i) for i in range(index.start, index.stop, step)]</p>
<p class="x_xmsonormal"> File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/lazy_paged_sequence.py", line 57, in <listcomp></p>
<p class="x_xmsonormal"> return [self.__getitem__(i) for i in range(index.start, index.stop, step)]</p>
<p class="x_xmsonormal"> File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/lazy_paged_sequence.py", line 64, in __getitem__</p>
<p class="x_xmsonormal"> self.__cache[page_number] = self.page_func(page_number, self.page_size)</p>
<p class="x_xmsonormal"> File "/usr/share/archivematica/dashboard/components/ingest/pair_matcher.py", line 69, in <lambda></p>
<p class="x_xmsonormal"> sort_by=sort_by,</p>
<p class="x_xmsonormal"> File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/agentarchives/archivesspace/client.py", line 739, in find_collections</p>
<p class="x_xmsonormal"> return [format_record(json.loads(r["json"])) for r in hits["results"]]</p>
<p class="x_xmsonormal"> File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/agentarchives/archivesspace/client.py", line 739, in <listcomp></p>
<p class="x_xmsonormal"> return [format_record(json.loads(r["json"])) for r in hits["results"]]</p>
<p class="x_xmsonormal"> File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/agentarchives/archivesspace/client.py", line 703, in format_record</p>
<p class="x_xmsonormal"> self._get(record["uri"] + "/tree", params={"page": 1}).json()[</p>
<p class="x_xmsonormal"> File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/agentarchives/archivesspace/client.py", line 185, in _get</p>
<p class="x_xmsonormal"> self.session.get, url, params=params, expected_response=expected_response</p>
<p class="x_xmsonormal"> File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/agentarchives/archivesspace/client.py", line 167, in _request</p>
<p class="x_xmsonormal"> raise CommunicationError(response.status_code, response)</p>
<p class="x_xmsonormal">agentarchives.archivesspace.client.CommunicationError: ArchivesSpace server responded 404</p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal">What is interesting, is if I change my settings from repository 2 to repository 1 it lets me to continue to next step, but it does not see any titles because repo 1 is empty . Repository 2 is a default and that is what giving me an error.</p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal">Any help would be greatly appreciated.</p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal">Thank you,</p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal">Kirill Batyuk <a href="https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.name-coach.com%2Fkirill-batyuk&data=05%7C01%7Ckbatyuk%40whoi.edu%7Cafc722cd6e9749a6eafd08dadec4567f%7Cd44c5cc6d18c46cc8abd4fdf5b6e5944%7C0%7C0%7C638067232099054482%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=9VJBZp32VNs0O6hWbA1N1ekBXRPIq9Yvwxhrz%2B%2FawY0%3D&reserved=0">
<span style="text-decoration:none"><img border="0" width="19" height="19" id="x_x_Picture_x0020_1" alt="A button for name playback in email signature" style="width:.1979in; height:.1979in" data-outlook-trace="F:1|T:1" src="cid:image001.png@01D91085.C78F91B0"></span></a></p>
<p class="x_xmsonormal">Systems Librarian</p>
<p class="x_xmsonormal">MBLWHOI Library</p>
<p class="x_xmsonormal">Data Library and Archives</p>
<p class="x_xmsonormal">Woods Hole Oceanographic Institution</p>
<p class="x_xmsonormal">508-289-2850</p>
<p class="x_xmsonormal"><a href="mailto:kbatyuk@whoi.edu"><span style="color:#0563C1">kbatyuk@whoi.edu</span></a></p>
<p class="x_xmsonormal"><a href="https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__http%3A%2Fmblwhoilibrary.org%2F__%3B!!NkSChLMW7qAT!qzl-Bw_htCSDBNQJszDywSpH7dOtkXO9Vs5MFihCtlGhhw559rfEgq-mCQ8O4cqor2tQ47n6Alhw%24&data=05%7C01%7Ckbatyuk%40whoi.edu%7Cafc722cd6e9749a6eafd08dadec4567f%7Cd44c5cc6d18c46cc8abd4fdf5b6e5944%7C0%7C0%7C638067232099054482%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2B2o%2Bq8I0qvQm1lqIlphNdehZNoEZvchzHgaSHZYYXJI%3D&reserved=0"><span style="color:#0563C1">mblwhoilibrary.org</span></a>
--- <a href="https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwhoi.edu%2F&data=05%7C01%7Ckbatyuk%40whoi.edu%7Cafc722cd6e9749a6eafd08dadec4567f%7Cd44c5cc6d18c46cc8abd4fdf5b6e5944%7C0%7C0%7C638067232099054482%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=hoamv71%2FhADuFTjAbHlrfEVWCKu9ymyAqcHID320mek%3D&reserved=0">
<span style="color:#0563C1">whoi.edu</span></a></p>
<p class="x_xmsonormal"><a href="https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__http%3A%2Forcid.org%2F0000-0003-0240-2209__%3B!!NkSChLMW7qAT!qzl-Bw_htCSDBNQJszDywSpH7dOtkXO9Vs5MFihCtlGhhw559rfEgq-mCQ8O4cqor2tQ46IK8ae6%24&data=05%7C01%7Ckbatyuk%40whoi.edu%7Cafc722cd6e9749a6eafd08dadec4567f%7Cd44c5cc6d18c46cc8abd4fdf5b6e5944%7C0%7C0%7C638067232099054482%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2FQhijf%2FSORJdPdFq7qfvqQinG6D3aDXpbXdXpZrDF6g%3D&reserved=0"><span style="color:#0563C1">ORCID</span></a></p>
<p class="x_xmsonormal"> </p>
</div>
</div>
</div>
</div>
</body>
</html>