Follow-up to 76ae5d9f59, which changed loadDocuments() to pass/throw an Error on a non-2xx response code
76ae5d9f59