{"action":"opened","issue":{"url":"https://api.github.com/repos/IQSS/dataverse/issues/2599","labels_url":"https://api.github.com/repos/IQSS/dataverse/issues/2599/labels{/name}","comments_url":"https://api.github.com/repos/IQSS/dataverse/issues/2599/comments","events_url":"https://api.github.com/repos/IQSS/dataverse/issues/2599/events","html_url":"https://github.com/IQSS/dataverse/issues/2599","id":108713399,"number":2599,"title":"SWORD: Can not list all datasets in a dataverse with over 4000 datasets","user":{"login":"pdurbin","id":21006,"avatar_url":"https://avatars.githubusercontent.com/u/21006?v=3","gravatar_id":"","url":"https://api.github.com/users/pdurbin","html_url":"https://github.com/pdurbin","followers_url":"https://api.github.com/users/pdurbin/followers","following_url":"https://api.github.com/users/pdurbin/following{/other_user}","gists_url":"https://api.github.com/users/pdurbin/gists{/gist_id}","starred_url":"https://api.github.com/users/pdurbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdurbin/subscriptions","organizations_url":"https://api.github.com/users/pdurbin/orgs","repos_url":"https://api.github.com/users/pdurbin/repos","events_url":"https://api.github.com/users/pdurbin/events{/privacy}","received_events_url":"https://api.github.com/users/pdurbin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IQSS/dataverse/labels/Type:%20Bug","name":"Type: Bug","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-28T17:59:41Z","updated_at":"2015-09-28T17:59:41Z","closed_at":null,"body":"http://guides.dataverse.org/en/4.0/api/sword.html#known-issues already says \"Inefficiency in constructing the list of datasets\" and links to #784 but I'm opening this issue to be more focused on the \"List datasets in a dataverse\" SWORD endpoint ( http://guides.dataverse.org/en/4.2/api/sword.html#list-datasets-in-a-dataverse ) which seems to be slow enough not to return for a dataverse such as https://dataverse.harvard.edu/dataverse/antislaverypetitionsma that has almost 4000 datasets. @garthg originally reported this in [a support ticket](https://help.hmdc.harvard.edu/Ticket/Display.html?id=227665) and I was able to reproduce the problem on a test server (dvn-vm5):\r\n\r\n`curl -u $API_TOKEN: https://$HOSTNAME/dvn/api/data-deposit/v1/swordv2/collection/dataverse/antislaverypetitionsma`\r\n\r\n```\r\n<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html><head>\r\n<title>503 Service Temporarily Unavailable</title>\r\n</head><body>\r\n<h1>Service Temporarily Unavailable</h1>\r\n<p>The server is temporarily unable to service your\r\nrequest due to maintenance downtime or capacity\r\nproblems. Please try again later.</p>\r\n<hr>\r\n<address>Apache/2.2.15 (CentOS) Server at dvn-vm5 Port 443</address>\r\n</body></html>\r\n```"}}