diff --git a/module/VuFind/src/VuFind/ILS/Driver/Alma.php b/module/VuFind/src/VuFind/ILS/Driver/Alma.php
index aebad97d66a8d6cbee0e20cc527ef11386fba497..54bc30d7ded1b3a6547c53be05144f4139ca4daf 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/Alma.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/Alma.php
@@ -226,7 +226,8 @@ class Alma extends AbstractBase implements \VuFindHttp\HttpServiceAwareInterface
             }
             $returnValue = $xml;
         } else {
-            $almaErrorMsg = $xml->errorList->error[0]->errorMessage;
+            $almaErrorMsg = $xml->errorList->error[0]->errorMessage
+                ?? '[could not parse error message]';
             error_log(
                 '[ALMA] ' . $almaErrorMsg . ' | Call to: ' . $client->getUri() .
                 '. GET params: ' . var_export($paramsGet, true) . '. POST params: ' .