diff --git a/src/app/resource/controllers/IndexingController.php b/src/app/resource/controllers/IndexingController.php
index fc4d01bb1cbf1f77c35b4b19b7f58edc5cae7f8f..2ab02d437e67e6f2dc52badebb6149289a0b4a9e 100755
--- a/src/app/resource/controllers/IndexingController.php
+++ b/src/app/resource/controllers/IndexingController.php
@@ -242,6 +242,7 @@ class IndexingController
 
     public function getProcessLimitDate(Request $request, Response $response)
     {
+        $delay = -1;
         $queryParams = $request->getQueryParams();
 
         if (!empty($queryParams['doctype'])) {
@@ -258,6 +259,9 @@ class IndexingController
             }
             $delay = $priority['delays'];
         }
+        if ($delay == -1) {
+            return $response->withJson(['processLimitDate' => null]);
+        }
         if (!Validator::intVal()->validate($delay)) {
             return $response->withStatus(400)->withJson(['errors' => 'Delay is not a numeric value']);
         }